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