mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
comment
This commit is contained in:
parent
1eca5fe9b4
commit
1328dcb7ea
@ -30,6 +30,8 @@ public bool AreEqual(Type componentType, RemoteCallType remoteCallType, RemoteCa
|
|||||||
/// <summary>Used to help manage remote calls for NetworkBehaviours</summary>
|
/// <summary>Used to help manage remote calls for NetworkBehaviours</summary>
|
||||||
public static class RemoteProcedureCalls
|
public static class RemoteProcedureCalls
|
||||||
{
|
{
|
||||||
|
// one lookup for all remote calls.
|
||||||
|
// allows us to easily add more remote call types without duplicating code.
|
||||||
// note: do not clear those with [RuntimeInitializeOnLoad]
|
// note: do not clear those with [RuntimeInitializeOnLoad]
|
||||||
static readonly Dictionary<int, Invoker> remoteCallDelegates = new Dictionary<int, Invoker>();
|
static readonly Dictionary<int, Invoker> remoteCallDelegates = new Dictionary<int, Invoker>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user