Class RemoteCallCollectionCache
Caches immutable RPC collection layouts to avoid re-allocating delegate wrappers and array buffers per spawned identity
Inheritance
System.Object
Inherited Members
Show
Syntax
public static class RemoteCallCollectionCache
Properties
Empty
Declaration
public static RemoteCallCollection Empty { get; }
Methods
GetOrCreate(NetworkBehaviour[])
Declaration
public static RemoteCallCollection GetOrCreate(NetworkBehaviour[] behaviours)
Parameters
| Type | Name | Description |
|---|---|---|
| Mirage.NetworkBehaviour[] | behaviours |
Returns
| Type | Description |
|---|---|
| Mirage.RemoteCalls.RemoteCallCollection |
Clear()
Declaration
public static void Clear()