From 1328dcb7ea03010a1a0c49af4cc7b3e271933865 Mon Sep 17 00:00:00 2001 From: vis2k Date: Tue, 18 Jan 2022 17:27:34 +0800 Subject: [PATCH] comment --- Assets/Mirror/Runtime/RemoteCalls.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Mirror/Runtime/RemoteCalls.cs b/Assets/Mirror/Runtime/RemoteCalls.cs index cbc577fde..84545d9ae 100644 --- a/Assets/Mirror/Runtime/RemoteCalls.cs +++ b/Assets/Mirror/Runtime/RemoteCalls.cs @@ -30,6 +30,8 @@ public bool AreEqual(Type componentType, RemoteCallType remoteCallType, RemoteCa /// Used to help manage remote calls for NetworkBehaviours 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] static readonly Dictionary remoteCallDelegates = new Dictionary();