Ejemplo n.º 1
0
        private void OnClickSelectSkillCHandler()
        {
            skillWindow.SetActive(false);
            Debug.Log("OnClickSelectSkillCHandler");

            PlayerBase playerBase = m_selectedUnit.gameObject.GetComponent <PlayerBase>();

            playerBase.BeforePlaySkill2();
            m_selectedUnit.PushTask(new SkillTask(playerBase, playerBase.curSkill));
        }