Exemplo n.º 1
0
    public override void End()
    {
        base.End();
        if (TutoManager.s_instance.TutoPanelInstance != null)
        {
            Destroy(TutoManager.s_instance.TutoPanelInstance);
        }
        BattleHandler.CurrentBattleKeepers[0].GetComponent <GlowObjectCmd>().ActivateBlinkBehaviour(false);
        BattleHandler.ResetBattleHandlerForTuto();
        GameManager.Instance.GetBattleUI.GetComponent <UIBattleHandler>().ChangeState(UIBattleState.WaitForDiceThrow);

        for (int i = 0; i < GameManager.Instance.AllKeepersList.Count; i++)
        {
            GameManager.Instance.AllKeepersList[i].GetComponent <Behaviour.Mortal>().SelectedHPUI.SetActive(true);
        }

        TutoManager.s_instance.GetComponent <SeqTutoCombat>().AlreadyPlayed = true;
        TutoManager.s_instance.PlayingSequence = null;
    }