public void RegisterUnityCall(string name, FSNUnityCallVoidDelegate method) { if(m_voidFuncs.ContainsKey(name)) { Debug.LogWarningFormat("[FSNDefaultUnityCallServer] function/method named {0} is already registered. Overwriting the registration.", name); } m_voidFuncs[name] = method; }
public void RegisterUnityCall(string name, FSNUnityCallVoidDelegate method) { if (m_voidFuncs.ContainsKey(name)) { Debug.LogWarningFormat("[FSNDefaultUnityCallServer] function/method named {0} is already registered. Overwriting the registration.", name); } m_voidFuncs[name] = method; }