protected override void OnDestroy() { EventAgregator.RemoveListener(EventKey.triggerInfo, OnReceiveTriggerInfo); EventAgregator.RemoveListener(EventKey.animationPointCheck, OnAnimationPointReceive); base.OnDestroy(); }
public void FinalizarHud() { numEncaixes.transform.parent.gameObject.SetActive(false); EventAgregator.RemoveListener(EventKey.UiDeEmblemasChange, OnChangeOption); emblemasD.FinalizarHud(); emblemasE.FinalizarHud(); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.requestToFillDates, OnRequestFillDates); EventAgregator.RemoveListener(EventKey.requestChangeCamLimits, OnRequestChangeCamLimits); EventAgregator.RemoveListener(EventKey.requestSceneCamLimits, OnRequestStandardLimits); EventAgregator.RemoveListener(EventKey.requestShakeCam, OnRequestShakeCam); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.colorChanged, OnColorChanged); EventAgregator.RemoveListener(EventKey.getColorSword, OnGetColorSword); EventAgregator.RemoveListener(EventKey.colorSwordShow, OnRequestFillDates); EventAgregator.RemoveListener(EventKey.allAbilityOn, VerifiqueEspadasAtivas); EventAgregator.RemoveListener(EventKey.starterHudForTest, VerifiqueEspadasAtivas); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.googlePlayTrySingInFinish, RequestStandardMenu); EventAgregator.RemoveListener(EventKey.returnOfdeleteFile, ReturnOfDelete); EventAgregator.RemoveListener(EventKey.returnOfInputNameOfGame, ReturnOfDelete); EventAgregator.RemoveListener(EventKey.startLoadDeleteButtonPress, OnStartLoadDeleteButtonPress); EventAgregator.RemoveListener(EventKey.returnToMainMenu, OnReturnToMainMenu); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.changeLifePoints, OnChangeLifePoints); EventAgregator.RemoveListener(EventKey.changeMagicPoints, OnChangemagicPoints); EventAgregator.RemoveListener(EventKey.changeMoneyAmount, OnChangeMoneyAmount); EventAgregator.RemoveListener(EventKey.requestToFillDates, OnRequestFillDates); EventAgregator.RemoveListener(EventKey.starterHudForTest, OnStarterHudForTest); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.inicializaDisparaTexto, OnStartTalk); EventAgregator.RemoveListener(EventKey.finalizaDisparaTexto, OnFinishTalk); EventAgregator.RemoveListener(EventKey.requestHideControllers, OnStartTalk); EventAgregator.RemoveListener(EventKey.requestShowControllers, OnFinishTalk); EventAgregator.RemoveListener(EventKey.startCheckPoint, OnStartCheckPoint); EventAgregator.RemoveListener(EventKey.requestToFillDates, OnRequestFillDates); EventAgregator.RemoveListener(EventKey.allAbilityOn, VerifiqueBtnDash); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.iniciandoConexao, OnStartConnect); EventAgregator.RemoveListener(EventKey.conexaoRealizada, OnConnect); EventAgregator.RemoveListener(EventKey.salaCriada, OnCreateRoom); EventAgregator.RemoveListener(EventKey.desligarHudPhoton, OnRequestOffHud); EventAgregator.RemoveListener(EventKey.conectandoParaJoin, OnStartConnectToJoin); EventAgregator.RemoveListener(EventKey.entrandoNoLobby, OnStartEnterLobby); EventAgregator.RemoveListener(EventKey.entrouNoLobby, OnEnterInLobby); EventAgregator.RemoveListener(EventKey.entrandoNaSala, OnEnterInTheRoom); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.requestHideControllers, OnRequestHideControlls); EventAgregator.RemoveListener(EventKey.requestShowControllers, OnRequestShowControlls); EventAgregator.RemoveListener(EventKey.changeHardwareController, OnChangeHardwareController); #region EventosEspecificosDoJogo_Destroy /* Eventos especificos do jogo */ //FayvitCommandReaderEventAgregator.RemoveListener(EventKey.inicializaDisparaTexto, OnStartTalk); //FayvitCommandReaderEventAgregator.RemoveListener(EventKey.finalizaDisparaTexto, OnFinishTalk); //FayvitCommandReaderEventAgregator.RemoveListener(EventKey.startCheckPoint, OnStartCheckPoint); //FayvitCommandReaderEventAgregator.RemoveListener(EventKey.requestToFillDates, OnRequestFillDates); //FayvitCommandReaderEventAgregator.RemoveListener(EventKey.starterHudForTest, VerifiqueBtnDash); //FayvitCommandReaderEventAgregator.RemoveListener(EventKey.allAbilityOn, VerifiqueBtnDash); #endregion }
void FinalizarMenuDepause() { estado = EstadoDaqui.emEspera; FinalizarTodasAsAbas(); Time.timeScale = 1; containerDoMenuDePause.SetActive(false); mapPanel.OnUnpausedGame(); EventAgregator.Publish(new StandardSendGameEvent(EventKey.exitPause, estadoAoPausar)); EventAgregator.Publish(new StandardSendGameEvent(EventKey.requestShowControllers)); EventAgregator.RemoveListener(EventKey.returnToMainMenu, OnReturnToMainMenu); EventAgregator.RemoveListener(EventKey.triedToChangeEmblemNoSuccessfull, OnTriedEmblem); EventAgregator.RemoveListener(EventKey.requestReturnToEmblemMenu, OnRequestEmblemMenu); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.disparaSom, OnRequestSoundEffects); EventAgregator.RemoveListener(EventKey.startMusic, OnRequestStartMusic); EventAgregator.RemoveListener(EventKey.stopMusic, OnRequestStopMusic); EventAgregator.RemoveListener(EventKey.restartMusic, OnRequestRestartMusic); EventAgregator.RemoveListener(EventKey.changeActiveScene, OnChangeActiveScene); EventAgregator.RemoveListener(EventKey.changeMusicWithRecovery, OnRequestMusicWithRecovery); EventAgregator.RemoveListener(EventKey.returnRememberedMusic, OnRequestRememberedMusic); EventAgregator.RemoveListener(EventKey.startCheckPoint, OnStartCheckPoint); EventAgregator.RemoveListener(EventKey.requestToFillDates, OnChangeActiveScene); EventAgregator.RemoveListener(EventKey.checkPointLoad, OnCheckPointLoad); EventAgregator.RemoveListener(EventKey.getUpdateGeometry, OnGetUpdateGeometry); EventAgregator.RemoveListener(EventKey.checkPointExit, OnCheckPointExit); EventAgregator.RemoveListener(EventKey.request3dSound, OnRequest3dSound); EventAgregator.RemoveListener(EventKey.startSceneMusic, OnChangeActiveScene); EventAgregator.RemoveListener(EventKey.allAbilityOn, OnRequestAllAbility); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.requestToFillDates, OnRequestFillDates); EventAgregator.RemoveListener(EventKey.enemyDefeatedCheck, OnEnemyDefeatedCheck); EventAgregator.RemoveListener(EventKey.destroyFixedShiftCheck, OnIdDestroyCheck); EventAgregator.RemoveListener(EventKey.requestChangeEnemyKey, OnRequestChangeEnemyKey); EventAgregator.RemoveListener(EventKey.destroyShiftCheck, MyDestroyShiftCheck); EventAgregator.RemoveListener(EventKey.requestChangeShiftKey, OnRequestChangeShiftKey); EventAgregator.RemoveListener(EventKey.enterPause, OnEnterPause); EventAgregator.RemoveListener(EventKey.exitPause, OnExitPause); EventAgregator.RemoveListener(EventKey.requestInfoEmblemPanel, OnRequestInfoEmbelmPanel); EventAgregator.RemoveListener(EventKey.sumContShift, OnRequestSumContShift); EventAgregator.RemoveListener(EventKey.getUpdateGeometry, OnGetUpdateGeometry); EventAgregator.RemoveListener(EventKey.emblemEquip, OnEquipEmblem); EventAgregator.RemoveListener(EventKey.emblemUnequip, OnUnequipEmblem); EventAgregator.RemoveListener(EventKey.requestLocalnameExibition, OnRequestNameexibition); EventAgregator.RemoveListener(EventKey.changeActiveScene, OnChangeActiveScene); // InterstialAdManager.RemoverEventos(); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.heroDamage, OnHeroDamage); EventAgregator.RemoveListener(EventKey.enemyContactDamage, OnEnemyContactDamage); EventAgregator.RemoveListener(EventKey.curaCancelada, OnCancelCure); EventAgregator.RemoveListener(EventKey.curaDisparada, OnCureInvoke); EventAgregator.RemoveListener(EventKey.requestMagicAttack, OnRequestMagicAttack); EventAgregator.RemoveListener(EventKey.requestDownArrowMagic, OnRequestDownArrowMagic); EventAgregator.RemoveListener(EventKey.colorButtonPressed, OnColorButtonPressed); EventAgregator.RemoveListener(EventKey.requestToFillDates, OnRequestFillDates); EventAgregator.RemoveListener(EventKey.startCheckPoint, OnStartCheckPoint); EventAgregator.RemoveListener(EventKey.checkPointLoad, OnCheckPointLoad); EventAgregator.RemoveListener(EventKey.getCoin, OnGetCoin); EventAgregator.RemoveListener(EventKey.getCoinBag, OnGetCoinBag); EventAgregator.RemoveListener(EventKey.enterPause, OnOpenExternalPanel); EventAgregator.RemoveListener(EventKey.exitPause, OnExitPause); EventAgregator.RemoveListener(EventKey.abriuPainelSuspenso, OnOpenExternalPanel); EventAgregator.RemoveListener(EventKey.fechouPainelSuspenso, OnCloseExternalPanel); EventAgregator.RemoveListener(EventKey.getEmblem, OnGetEmblem); EventAgregator.RemoveListener(EventKey.getUpdateGeometry, OnGetUpdateGeometry); // EventAgregator.RemoveListener(EventKey.getPentagon, OnGetPentagon); EventAgregator.RemoveListener(EventKey.inicializaDisparaTexto, OnOpenExternalPanel); EventAgregator.RemoveListener(EventKey.finalizaDisparaTexto, OnCloseExternalPanel); EventAgregator.RemoveListener(EventKey.getNotch, OnGetNotch); EventAgregator.RemoveListener(EventKey.colisorNoQuicavel, OnRequestKick); EventAgregator.RemoveListener(EventKey.requestCharRepulse, OnRequestRepulse); EventAgregator.RemoveListener(EventKey.requestHeroPosition, OnRequestPosition); EventAgregator.RemoveListener(EventKey.getColorSword, OnGetColorSword); EventAgregator.RemoveListener(EventKey.getStamp, OnGetStamp); EventAgregator.RemoveListener(EventKey.getItem, OnGetItem); EventAgregator.RemoveListener(EventKey.colorChanged, OnSwordColorChanged); EventAgregator.RemoveListener(EventKey.getMagicAttack, OnGetMagicAttack); EventAgregator.RemoveListener(EventKey.updateGeometryComplete, OnUpdateGeometryComplete); EventAgregator.RemoveListener(EventKey.allAbilityOn, OnRequestAllAbility); EventAgregator.RemoveListener(EventKey.endTeleportDamage, OnEndTeleportDamage); EventAgregator.RemoveListener(EventKey.animaIniciaPulo, OnStartJumpAnimate); EventAgregator.RemoveListener(EventKey.animationPointCheck, OnFinishJump); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.hexCloseSecondPanel, OnHexCloseSecondPanel); }
void EndColorCircle() { myGetColor.transform.parent.gameObject.SetActive(false); EventAgregator.RemoveListener(EventKey.changeColorPicker, OnChangeColorPicker); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.triggerInfo, OnReceivedTriggerInfo); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.ClickButtonChangeProfile, OnClickButtonChangeProfile); }
protected override void OnDestroy() { base.OnDestroy(); EventAgregator.RemoveListener(EventKey.triggerInfo, OnReceivedTriggerInfo); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.cofreRequisitado, OnRequestSafeBox); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.testLoadForJolt, OnRequestTestLoadForJolt); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.requestChangeEnemyKey, OnEnemyDefeated); EventAgregator.RemoveListener(EventKey.requestChangeEnemyKey, OnFinalizeDefeated); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.fadeInComplete, OnFadeInComplete); EventAgregator.RemoveListener(EventKey.fadeOutComplete, OnFadeOutComplete); }
protected virtual void OnDestroy() { EventAgregator.RemoveListener(EventKey.compraConcluida, OnBuyFinish); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.changeTeleportPosition, OnChangeTeleportPositionRequest); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.localNameExibition, OnRequestLocalNameExibition); }
protected override void OnDestroy() { EventAgregator.RemoveListener(EventKey.animationPointCheck, CheckAnimationPoint); base.OnDestroy(); }
protected override void FinalizarEspecifico() { EventAgregator.RemoveListener(EventKey.buyUpdateGeometry, OnBuyUpdateGeometry); EventAgregator.RemoveListener(EventKey.hexCloseSecondPanel, OnCloseHexSecondPanel); base.FinalizarEspecifico(); }
private void OnDestroy() { EventAgregator.RemoveListener(EventKey.animationPointCheck, OnReceiveAnimationPoint); }
protected virtual void OnDestroy() { EventAgregator.RemoveListener(EventKey.sendDamageForEnemy, OnReceivedDamageAmount); }
protected override void OnDestroy() { EventAgregator.RemoveListener(EventKey.triggerInfo, OnReceivedTriggerInfo); base.OnDestroy(); ChangeView(false); }