コード例 #1
0
        /// <summary>
        /// 选择技能B
        /// </summary>
        private void OnClickSelectSkillBHandler()
        {
            skillWindow.SetActive(false);
            Debug.Log("OnClickSelectSkillBHandler");

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

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