protected override void Start()
 {
     // new MyInvokeMethod().InvokeNoTempoDeJogo(gameObject, IniciaBoss, 0.3f);
     tempoDoUltimoEspecial = tempoMinimoEntreEspeciais;
     EventAgregator.AddListener(EventKey.animationPointCheck, OnReceivedAnimationPoint);
     base.Start();
 }
Example #2
0
    // Start is called before the first frame update
    protected override void Start()
    {
        animador = GetComponent <Animator>();
        base.Start();

        EventAgregator.AddListener(EventKey.animationPointCheck, OnReceiveAnimationPoint);
    }
Example #3
0
    // Start is called before the first frame update
    void Start()
    {
        g = this;

        if (emTeste)
        {
            Debug.Log("está em teste");
        }

        musica.IniciarMusicaDaCena(sceneDates.GetCurrentSceneDates());

        EventAgregator.AddListener(EventKey.disparaSom, OnRequestSoundEffects);
        EventAgregator.AddListener(EventKey.startMusic, OnRequestStartMusic);
        EventAgregator.AddListener(EventKey.stopMusic, OnRequestStopMusic);
        EventAgregator.AddListener(EventKey.restartMusic, OnRequestRestartMusic);
        EventAgregator.AddListener(EventKey.changeActiveScene, OnChangeActiveScene);
        EventAgregator.AddListener(EventKey.changeMusicWithRecovery, OnRequestMusicWithRecovery);
        EventAgregator.AddListener(EventKey.returnRememberedMusic, OnRequestRememberedMusic);
        EventAgregator.AddListener(EventKey.startCheckPoint, OnStartCheckPoint);
        EventAgregator.AddListener(EventKey.requestToFillDates, OnChangeActiveScene);
        EventAgregator.AddListener(EventKey.checkPointLoad, OnCheckPointLoad);
        EventAgregator.AddListener(EventKey.checkPointExit, OnCheckPointExit);
        EventAgregator.AddListener(EventKey.getUpdateGeometry, OnGetUpdateGeometry);
        EventAgregator.AddListener(EventKey.request3dSound, OnRequest3dSound);
        EventAgregator.AddListener(EventKey.startSceneMusic, OnChangeActiveScene);
        EventAgregator.AddListener(EventKey.allAbilityOn, OnRequestAllAbility);
    }
 protected override void Start()
 {
     _Animator = GetComponentInChildren <Animator>();
     EventAgregator.AddListener(EventKey.triggerInfo, OnReceivedTrigerInfo);
     Invoke("TestadorDePosicao", 2);
     base.Start();
 }
 // Start is called before the first frame update
 protected override void Start()
 {
     ChangeView(false);
     ultimoInvestimento = -intervaloDeInvestimento;
     EventAgregator.AddListener(EventKey.triggerInfo, OnReceivedTriggerInfo);
     base.Start();
 }
    public void IniciarHud(bool estaNoCheckPoint)
    {
        this.estaNoCheckPoint = estaNoCheckPoint;
        numEncaixes.transform.parent.gameObject.SetActive(true);

        estado = EstadoDaqui.sobreDisponiveis;
        dj     = GameController.g.Manager.Dados;

        emblemasE.IniciarHud(EncaixeDeEmblemaSelecionado);
        emblemasD.IniciarHud(EmblemaDisponivelSelecionado);

        emblemasE.RetirarDestaques();

        if (dj.MeusEmblemas.Count > 0)
        {
            ColocaInfoTexts(dj.MeusEmblemas[0]);
        }
        else
        {
            InfoDeNaoTemEmblema();
        }

        numEncaixes.text = Emblema.NumeroDeEspacosOcupados(dj.MeusEmblemas) + " / " + dj.EspacosDeEmblemas;

        EventAgregator.AddListener(EventKey.UiDeEmblemasChange, OnChangeOption);
    }
 protected override void Start()
 {
     ultimaMordida = Time.deltaTime - intervaloEntreMordidas;
     _Animator     = GetComponent <Animator>();
     EventAgregator.AddListener(EventKey.animationPointCheck, OnAnimationPointReceived);
     EventAgregator.AddListener(EventKey.triggerInfo, OnReceivedTriggerInfo);
     base.Start();
 }
Example #8
0
#pragma warning restore 0649

    // Start is called before the first frame update
    void Start()
    {
        EventAgregator.AddListener(EventKey.changeLifePoints, OnChangeLifePoints);
        EventAgregator.AddListener(EventKey.changeMagicPoints, OnChangemagicPoints);
        EventAgregator.AddListener(EventKey.changeMoneyAmount, OnChangeMoneyAmount);
        EventAgregator.AddListener(EventKey.requestToFillDates, OnRequestFillDates);
        EventAgregator.AddListener(EventKey.starterHudForTest, OnStarterHudForTest);
    }
Example #9
0
    // Use this for initialization
    new void Start()
    {
        UnityEngine.N3DS.Keyboard.SetType(N3dsKeyboardType.NNID);

        base.Start();
        VerificaPerfis();
        EventAgregator.AddListener(EventKey.ClickButtonChangeProfile, OnClickButtonChangeProfile);
    }
Example #10
0
 // Start is called before the first frame update
 void Start()
 {
     EventAgregator.AddListener(EventKey.colorChanged, OnColorChanged);
     EventAgregator.AddListener(EventKey.getColorSword, OnGetColorSword);
     EventAgregator.AddListener(EventKey.colorSwordShow, OnRequestFillDates);
     EventAgregator.AddListener(EventKey.allAbilityOn, VerifiqueEspadasAtivas);
     EventAgregator.AddListener(EventKey.starterHudForTest, VerifiqueEspadasAtivas);
 }
Example #11
0
    protected override void Start()
    {
        animador = GetComponent <Animator>();

        posOriginal = transform.position;
        EventAgregator.AddListener(EventKey.triggerInfo, OnReceiveTriggerInfo);
        EventAgregator.AddListener(EventKey.animationPointCheck, OnAnimationPointReceive);

        base.Start();
    }
Example #12
0
 // Start is called before the first frame update
 void Start()
 {
     EventAgregator.AddListener(EventKey.iniciandoConexao, OnStartConnect);
     EventAgregator.AddListener(EventKey.conexaoRealizada, OnConnect);
     EventAgregator.AddListener(EventKey.salaCriada, OnCreateRoom);
     EventAgregator.AddListener(EventKey.desligarHudPhoton, OnRequestOffHud);
     EventAgregator.AddListener(EventKey.conectandoParaJoin, OnStartConnectToJoin);
     EventAgregator.AddListener(EventKey.entrandoNoLobby, OnStartEnterLobby);
     EventAgregator.AddListener(EventKey.entrouNoLobby, OnEnterInLobby);
     EventAgregator.AddListener(EventKey.entrandoNaSala, OnEnterInTheRoom);
 }
Example #13
0
    private void Start()
    {
        SempreEstaNoTrigger();

        if (ExistenciaDoController.AgendaExiste(Start, this))
        {
            EventAgregator.Publish(new StandardSendGameEvent(EventKey.destroyShiftCheck, ID, gameObject));
        }

        EventAgregator.AddListener(EventKey.hexCloseSecondPanel, OnHexCloseSecondPanel);
    }
 private void Start()
 {
     if (GameController.g.MyKeys.VerificaAutoShift(ID))
     {
         enabled = false;
         DestruirRestritores();
         EsconderCorrentes();
         Destroy(oAcorrentado.gameObject);
         transform.rotation = Quaternion.Euler(0, 0, rotTarget);
     }
     EventAgregator.AddListener(EventKey.triggerInfo, OnReceivedTriggerInfo);
 }
    //private SouUmLosanguloGerenciavel[] losangulos;

    // Start is called before the first frame update
    void Start()
    {
        l = this;
        //losangulos = FindObjectsOfType<SouUmLosanguloGerenciavel>();

        //Debug.Log(losangulos.Length);

        //GameController.g.MyKeys.MudaCont(KeyCont.losangulosPegos, 4);

        Invoke("ColocaLosangulosConfirmados", 0.1f);

        EventAgregator.AddListener(EventKey.cofreRequisitado, OnRequestSafeBox);
    }
Example #16
0
    // Start is called before the first frame update
    protected override void Start()
    {
        EventAgregator.AddListener(EventKey.requestChangeEnemyKey, OnEnemyDefeated);
        EventAgregator.AddListener(EventKey.requestChangeEnemyKey, OnFinalizeDefeated);

        /*
         * IdsMonitorados = new string[monitorado.Length];
         *
         * for(int i=0;i<monitorado.Length;i++)
         *  IdsMonitorados[i] = monitorado[i].GetComponent<NonRespawnOnLoadEnemy>().GetID;
         */
        base.Start();
    }
    // Start is called before the first frame update
    void Start()
    {
        positionRequest = new ExternalPositionRequest(transform, mov);
        mov.Iniciar(transform);
        dash.IniciarCampos(transform);

        emDano   = new EstouEmDano(GetComponent <Rigidbody2D>());
        animador = new AnimadorDoPersonagem(transform);

        EventAgregator.Publish(new StandardSendGameEvent(gameObject, EventKey.starterHudForTest, dados));


        EventAgregator.AddListener(EventKey.heroDamage, OnHeroDamage);
        EventAgregator.AddListener(EventKey.enemyContactDamage, OnEnemyContactDamage);
        EventAgregator.AddListener(EventKey.curaCancelada, OnCancelCure);
        EventAgregator.AddListener(EventKey.curaDisparada, OnCureInvoke);
        EventAgregator.AddListener(EventKey.requestMagicAttack, OnRequestMagicAttack);
        EventAgregator.AddListener(EventKey.requestDownArrowMagic, OnRequestDownArrowMagic);
        EventAgregator.AddListener(EventKey.colorButtonPressed, OnColorButtonPressed);
        EventAgregator.AddListener(EventKey.requestToFillDates, OnRequestFillDates);
        EventAgregator.AddListener(EventKey.startCheckPoint, OnStartCheckPoint);
        EventAgregator.AddListener(EventKey.checkPointLoad, OnCheckPointLoad);
        EventAgregator.AddListener(EventKey.getCoin, OnGetCoin);
        EventAgregator.AddListener(EventKey.getCoinBag, OnGetCoinBag);
        EventAgregator.AddListener(EventKey.enterPause, OnOpenExternalPanel);
        EventAgregator.AddListener(EventKey.exitPause, OnExitPause);
        EventAgregator.AddListener(EventKey.abriuPainelSuspenso, OnOpenExternalPanel);
        EventAgregator.AddListener(EventKey.fechouPainelSuspenso, OnCloseExternalPanel);
        EventAgregator.AddListener(EventKey.getEmblem, OnGetEmblem);
        EventAgregator.AddListener(EventKey.getUpdateGeometry, OnGetUpdateGeometry);
        //EventAgregator.AddListener(EventKey.getPentagon, OnGetPentagon);
        EventAgregator.AddListener(EventKey.inicializaDisparaTexto, OnOpenExternalPanel);
        EventAgregator.AddListener(EventKey.finalizaDisparaTexto, OnCloseExternalPanel);
        EventAgregator.AddListener(EventKey.getNotch, OnGetNotch);
        EventAgregator.AddListener(EventKey.colisorNoQuicavel, OnRequestKick);
        EventAgregator.AddListener(EventKey.requestCharRepulse, OnRequestRepulse);
        EventAgregator.AddListener(EventKey.requestHeroPosition, OnRequestPosition);
        EventAgregator.AddListener(EventKey.getColorSword, OnGetColorSword);
        EventAgregator.AddListener(EventKey.getStamp, OnGetStamp);
        EventAgregator.AddListener(EventKey.getItem, OnGetItem);
        EventAgregator.AddListener(EventKey.colorChanged, OnSwordColorChanged);
        EventAgregator.AddListener(EventKey.getMagicAttack, OnGetMagicAttack);
        EventAgregator.AddListener(EventKey.updateGeometryComplete, OnUpdateGeometryComplete);
        EventAgregator.AddListener(EventKey.allAbilityOn, OnRequestAllAbility);
        EventAgregator.AddListener(EventKey.endTeleportDamage, OnEndTeleportDamage);
        EventAgregator.AddListener(EventKey.animaIniciaPulo, OnStartJumpAnimate);
        EventAgregator.AddListener(EventKey.animationPointCheck, OnFinishJump);


        GameController.g.Manager = this;
    }
    protected override void Start()
    {
        mov.Iniciar(andador);
        posOriginal = transform.position;
        EventAgregator.AddListener(EventKey.triggerInfo, OnReceiveTriggerInfo);
        EventAgregator.AddListener(EventKey.animationPointCheck, OnReceivedAnimationPoint);
        base.Start();

        new MyInvokeMethod().InvokeAoFimDoQuadro(() =>
        {
            mov.AplicadorDeMovimentos(
                DirecaoNoPlano.NoUpNormalizado(transform.position, GameController.g.Manager.transform.position));
        });
    }
Example #19
0
        private void Start()
        {
            if (cj == null)
            {
                cj = this;
            }
            else
            {
                Destroy(gameObject);
            }

            if (GetComponent <Image>() == null)
            {
                Debug.LogError("There is no joystick image attached to this script.");
            }

            if (transform.GetChild(0).GetComponent <Image>() == null)
            {
                Debug.LogError("There is no joystick handle image attached to this script.");
            }

            if (moveJoy)
            {
                moveJoy.Start();
            }

            if (camJoy)
            {
                camJoy.Start();
            }

            #region EventosEspecificosDoJogo_Start
            /*  Eventos especificos do jogo */
            //FayvitCommandReaderEventAgregator.AddListener(EventKey.startCheckPoint, OnStartCheckPoint);
            //FayvitCommandReaderEventAgregator.AddListener(EventKey.requestToFillDates, OnRequestFillDates);
            //FayvitCommandReaderEventAgregator.AddListener(EventKey.starterHudForTest, VerifiqueBtnDash);
            //FayvitCommandReaderEventAgregator.AddListener(EventKey.allAbilityOn, VerifiqueBtnDash);
            //FayvitCommandReaderEventAgregator.AddListener(EventKey.inicializaDisparaTexto, OnStartTalk);
            //FayvitCommandReaderEventAgregator.AddListener(EventKey.finalizaDisparaTexto, OnFinishTalk);
            #endregion

            EventAgregator.AddListener(EventKey.requestHideControllers, OnRequestHideControlls);
            EventAgregator.AddListener(EventKey.requestShowControllers, OnRequestShowControlls);
            EventAgregator.AddListener(EventKey.changeHardwareController, OnChangeHardwareController);

            Debug.LogWarning("Interessante chamar o Evento changeHardwareController quando a cena for carregada");

            // OnChangeHardwareController(new FayvitCommandReaderEvent(EventKey.changeHardwareController, GlobalController.g.Control));
        }
    private void Start()
    {
        if (cj == null)
        {
            cj = this;
        }
        else
        {
            Destroy(gameObject);
        }

        if (GetComponent <Image>() == null)
        {
            Debug.LogError("There is no joystick image attached to this script.");
        }

        if (transform.GetChild(0).GetComponent <Image>() == null)
        {
            Debug.LogError("There is no joystick handle image attached to this script.");
        }

        if (GetComponent <Image>() != null && transform.GetChild(0).GetComponent <Image>() != null)
        {
            bgImage           = GetComponent <Image>();
            joystickKnobImage = transform.GetChild(0).GetComponent <Image>();

            bgImage.rectTransform.GetWorldCorners(fourCornersArray);

            bgImageStartPosition        = fourCornersArray[3];
            bgImage.rectTransform.pivot = new Vector2(1, 0);

            bgImage.rectTransform.anchorMin = new Vector2(0, 0);
            bgImage.rectTransform.anchorMax = new Vector2(0, 0);
            bgImage.rectTransform.position  = bgImageStartPosition;
        }

        EventAgregator.AddListener(EventKey.inicializaDisparaTexto, OnStartTalk);
        EventAgregator.AddListener(EventKey.finalizaDisparaTexto, OnFinishTalk);
        EventAgregator.AddListener(EventKey.requestHideControllers, OnStartTalk);
        EventAgregator.AddListener(EventKey.requestShowControllers, OnFinishTalk);
        EventAgregator.AddListener(EventKey.startCheckPoint, OnStartCheckPoint);
        EventAgregator.AddListener(EventKey.requestToFillDates, OnRequestFillDates);
        EventAgregator.AddListener(EventKey.starterHudForTest, VerifiqueBtnDash);
        EventAgregator.AddListener(EventKey.allAbilityOn, VerifiqueBtnDash);
        EventAgregator.AddListener(EventKey.changeHardwareController, OnChangeHardwareController);

        OnChangeHardwareController(new StandardSendGameEvent(EventKey.changeHardwareController, GlobalController.g.Control));
    }
Example #21
0
    public virtual void IniciarHud()
    {
        TitleUpdate.transform.parent.gameObject.SetActive(true);
        int quantidade = SetarOpcoes();

        if (quantidade > 0)
        {
            IniciarHUD(quantidade, TipoDeRedimensionamento.vertical);
        }
        else
        {
            itemDoContainer.SetActive(false);
        }

        EventAgregator.AddListener(EventKey.UiDeOpcoesChange, OnChangeOption);
    }
Example #22
0
    public void IniciarMenuDePause()
    {
        if (GameController.g.Manager.Estado != EstadoDePersonagem.derrotado)
        {
            Time.timeScale = 0;
            estadoAoPausar = GameController.g.Manager.Estado;
            EventAgregator.Publish(new StandardSendGameEvent(EventKey.enterPause));
            EventAgregator.Publish(new StandardSendGameEvent(EventKey.requestHideControllers));
            containerDoMenuDePause.SetActive(true);
            IniciarQualMenu(qualMenu);

            EventAgregator.AddListener(EventKey.returnToMainMenu, OnReturnToMainMenu);
            EventAgregator.AddListener(EventKey.triedToChangeEmblemNoSuccessfull, OnTriedEmblem);
            EventAgregator.AddListener(EventKey.requestReturnToEmblemMenu, OnRequestEmblemMenu);
        }
    }
Example #23
0
    private void OnFadeOutComplete(IGameEvent obj)
    {
        GlobalController.g.FadeV.IniciarFadeIn();
        EventAgregator.AddListener(EventKey.fadeInComplete, OnFadeInComplete);

        SceneManager.SetActiveScene(
            SceneManager.GetSceneByName(GameController.g.MyKeys.CenaAtiva.ToString()));

        SaveDatesManager.SalvarAtualizandoDados();

        fase = FasesDoLoad.eventInProgress;

        SceneManager.UnloadSceneAsync(NomesCenasEspeciais.CenaDeCarregamento.ToString());

        //GameController.g.ModificacoesDaCena();
        Time.timeScale    = 1;
        Physics2D.gravity = new Vector2(0, -0.8f);
    }
Example #24
0
    private void ChangeToColorCircle(Color C)
    {
        myGetColor.transform.parent.gameObject.SetActive(true);
        estado = EstadoDoMenu.colorCircle;

        EventAgregator.AddListener(EventKey.changeColorPicker, OnChangeColorPicker);

        SupportSingleton.Instance.InvokeOnEndFrame(() =>
        {
            myGetColor.SetColor(C);

            EditableElements target = activeEditables[cMenu.SelectedOption];

            MessageAgregator <MsgOpenColorMenu> .Publish(new MsgOpenColorMenu()
            {
                reg = secManager.GetTargetColorReg
            });
        });
    }
Example #25
0
    // Start is called before the first frame update
    protected override void Start()
    {
        guardadorDePosicao = transform.position;
        Invoke("VerifiqueAtivacao", 1);


        moveDirection = new Vector3(Random.Range(-1, 1), Random.Range(-1, 1), 0);

        if (moveDirection != Vector3.zero)
        {
            moveDirection.Normalize();
        }
        else
        {
            moveDirection = new Vector3(1, 0, 0);
        }

        EventAgregator.AddListener(EventKey.triggerInfo, OnReceivedTriggerInfo);
        base.Start();
    }
Example #26
0
    public void Update()
    {
        switch (fase)
        {
        case FasesDoLoad.carregando:

            tempo += Time.fixedDeltaTime;

            float progresso = 0;
            if (a2.Length > 0)
            {
                for (int i = 0; i < a2.Length; i++)
                {
                    progresso += a2[i].progress;
                }

                progresso /= a2.Length;
            }
            else
            {
                progresso = 1;
            }

            loadBar.ValorParaBarra(Mathf.Min(progresso, tempo / tempoMin, 1));

            if (podeIr && tempo >= tempoMin)
            {
                GameObject go = GameObject.Find("EventSystem");
                if (go)
                {
                    SceneManager.MoveGameObjectToScene(go, SceneManager.GetSceneByName(NomesCenasEspeciais.ComunsDeFase.ToString()));
                }

                GlobalController.g.FadeV.IniciarFadeOut();
                EventAgregator.AddListener(EventKey.fadeOutComplete, OnFadeOutComplete);
                fase = FasesDoLoad.eventInProgress;
            }

            break;
        }
    }
    // Use this for initialization
    void Start()
    {
        estaNoJolt = UrlVerify.DomainsContainString("gamejolt", myText);

        if (estaNoJolt)
        {
            blackcanvas.SetActive(false);
        }
        else
        {
            SaveDatesManager.Load();
            SceneManager.LoadScene("menuInicial");
        }

        if (!GameObject.Find("GameJoltAPI"))
        {
            JoltManager.SetActive(true);
        }

        EventAgregator.AddListener(EventKey.testLoadForJolt, OnRequestTestLoadForJolt);
    }
Example #28
0
    // Use this for initialization
    void Start()
    {
        Camera  cam = GetComponent <Camera>();
        Vector3 V1  = cam.ViewportToWorldPoint(Vector3.zero);
        Vector3 V2  = cam.ScreenToWorldPoint(new Vector3(Screen.width / 2, Screen.height / 2, 0));

        wordWidthOfScreen  = V2.x - V1.x;
        wordheightOfScreen = V2.y - V1.y;

        shake.Construir(transform);
        fatorCima = 0;// Vector3.Distance(cam.ScreenPointToRay(Vector3.zero).origin, cam.ScreenPointToRay(new Vector3(0, cam.pixelHeight, 0)).origin)/4;

        ultimaPosicaoDoAlvo = alvo.position;
        distanciaZ          = (transform.position - alvo.position).z;
        transform.parent    = null;



        EventAgregator.AddListener(EventKey.requestToFillDates, OnRequestFillDates);
        EventAgregator.AddListener(EventKey.requestChangeCamLimits, OnRequestChangeCamLimits);
        EventAgregator.AddListener(EventKey.requestSceneCamLimits, OnRequestStandardLimits);
        EventAgregator.AddListener(EventKey.requestShakeCam, OnRequestShakeCam);
    }
Example #29
0
    // Start is called before the first frame update
    void Start()
    {
        //Firebase.Analytics.FirebaseAnalytics.SetCurrentScreen("menuInicial", "gameMenu");

        StartCoroutine(PedirSomDoMenu());

        //SaveDatesManager.Load();

        Debug.Log(SaveDatesManager.s.SavedGames.Count + " : " + SaveDatesManager.s.SaveProps.Count + " : " + SaveDatesManager.s.ChosenLanguage);

        /*
         #if UNITY_ANDROID
         * GooglePlayTrophyDictionary.Start();
         #else */
        RequestStandardMenu(null);
//#endif

        EventAgregator.AddListener(EventKey.googlePlayTrySingInFinish, RequestStandardMenu);
        EventAgregator.AddListener(EventKey.returnOfdeleteFile, ReturnOfDelete);
        EventAgregator.AddListener(EventKey.returnOfInputNameOfGame, ReturnOfDelete);
        EventAgregator.AddListener(EventKey.startLoadDeleteButtonPress, OnStartLoadDeleteButtonPress);
        EventAgregator.AddListener(EventKey.returnToMainMenu, OnReturnToMainMenu);
    }
    // Start is called before the first frame update
    void Start()
    {
        if (SaveDatesManager.s == null)
        {
            SaveDatesManager.s = new SaveDatesManager();
        }

        GameController[] g = FindObjectsOfType <GameController>();

        if (g.Length > 1)
        {
            Destroy(gameObject);
        }

        transform.parent = null;
        DontDestroyOnLoad(gameObject);

        EventAgregator.AddListener(EventKey.requestToFillDates, OnRequestFillDates);
        EventAgregator.AddListener(EventKey.enemyDefeatedCheck, OnEnemyDefeatedCheck);
        EventAgregator.AddListener(EventKey.destroyFixedShiftCheck, OnIdDestroyCheck);
        EventAgregator.AddListener(EventKey.requestChangeEnemyKey, OnRequestChangeEnemyKey);
        EventAgregator.AddListener(EventKey.destroyShiftCheck, MyDestroyShiftCheck);
        EventAgregator.AddListener(EventKey.requestChangeShiftKey, OnRequestChangeShiftKey);
        EventAgregator.AddListener(EventKey.enterPause, OnEnterPause);
        EventAgregator.AddListener(EventKey.exitPause, OnExitPause);
        EventAgregator.AddListener(EventKey.requestInfoEmblemPanel, OnRequestInfoEmbelmPanel);
        EventAgregator.AddListener(EventKey.sumContShift, OnRequestSumContShift);
        EventAgregator.AddListener(EventKey.getUpdateGeometry, OnGetUpdateGeometry);
        EventAgregator.AddListener(EventKey.emblemEquip, OnEquipEmblem);
        EventAgregator.AddListener(EventKey.emblemUnequip, OnUnequipEmblem);
        EventAgregator.AddListener(EventKey.requestLocalnameExibition, OnRequestNameexibition);
        EventAgregator.AddListener(EventKey.changeActiveScene, OnChangeActiveScene);
        //InterstialAdManager.AgendarEventos();

        //disparaT.IniciarDisparadorDeTextos();
        MyKeys.MudaShift(KeyShift.sempretrue, true);
    }