public static void UnsubscribeClientAxisChange(EAxis _eClientAxis, NotifyClientAxisChange _nCallback) { if (s_cInstance.m_mClientAxisCallbacks.ContainsKey(_eClientAxis)) { s_cInstance.m_mClientAxisCallbacks[_eClientAxis].Remove(_nCallback); } }
public static void SubscribeClientAxisChange(EAxis _eClientAxis, NotifyClientAxisChange _nCallback) { if (!s_cInstance.m_mClientAxisCallbacks.ContainsKey(_eClientAxis)) { s_cInstance.m_mClientAxisCallbacks.Add(_eClientAxis, new List <NotifyClientAxisChange>()); } s_cInstance.m_mClientAxisCallbacks[_eClientAxis].Add(_nCallback); }