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