Пример #1
0
 private void UnsubscribeFromMessages()
 {
     MyMessenger.RemoveListener <int>(MissionKeys.UNIT_SELECTED_EVENT, OnUnitSelected);
 }
Пример #2
0
 public void OnDestroy()
 {
     MyMessenger.RemoveListener <IAuthenticationSuccess>(BackendMessages.AUTH_SUCCESS, OnAuthenticationSucess);
     MyMessenger.RemoveListener <IBackendFailure>(BackendMessages.BACKEND_REQUEST_FAIL, OnBackendFailure);
 }
Пример #3
0
 public void Dispose() {
     MyMessenger.RemoveListener<LogTypes, string, string>( LOG_EVENT, LogWithCategory );
 }
Пример #4
0
 void OnDestroy()
 {
     MyMessenger.RemoveListener(BackendMessages.LOGIN_SUCCESS, OnLogin);
 }
Пример #5
0
 private void UnsubscribeFromMessages()
 {
     MyMessenger.RemoveListener(MapKeys.TRAVEL_TO_SUCCESS, OnTravelSuccess);
 }
Пример #6
0
 private void UnsubscribeFromMessages()
 {
     MyMessenger.RemoveListener <string>(UnitKeys.UNLOCK_EVENT, OnUnitUnlocked);
 }
Пример #7
0
 private void UnsubscribeFromMessages()
 {
     MyMessenger.RemoveListener <MissionData>(MissionKeys.MISSION_CLIENT_COMPLETE_PROCESSED, OnMissionCompleted);
 }
Пример #8
0
 private void UnsubscribeFromMessages()
 {
     MyMessenger.RemoveListener <int>(MapKeys.TRAVEL_TO_REQUEST, OnTravelToSelected);
     MyMessenger.RemoveListener(CLOSE_MAP_MESSAGE, CloseMap);
 }
Пример #9
0
 void OnDestroy()
 {
     mLogin.OnDestroy();
     MyMessenger.RemoveListener(BackendMessages.LOGIN_SUCCESS, OnLoginSuccess);
     MyMessenger.RemoveListener <IBackendFailure>(BackendMessages.BACKEND_REQUEST_FAIL, OnBackendFailure);
 }
Пример #10
0
 private void UnsubscribeFromMessages()
 {
     MyMessenger.RemoveListener(MapKeys.TRAVEL_TO_SUCCESS, OnTravelSuccess);
     MyMessenger.RemoveListener(OPEN_MAP_MESSAGE, CreateMapView);
 }
Пример #11
0
 private void UnsubscribeFromMessages()
 {
     EasyMessenger.Instance.RemoveListener <ITrainerManager>(TrainerManager.AVAILABLE_TRAINERS_EVENT, OnTrainersChanged);
     MyMessenger.RemoveListener <string>(Tutorial.TUTORIAL_FINISHED, OnTutorialFinished);
 }
Пример #12
0
 private void UnsubscribeFromMessages()
 {
     MyMessenger.RemoveListener <int>(MapKeys.TRAVEL_TO_REQUEST, OnTravelToSelected);
 }