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