예제 #1
0
        void OnSkillProduce(SkillOperateData skillOperateData)
        {
            Debug.Log("skillOperateData.grooveIndex=" + skillOperateData.grooveIndex);
            SkillOperateController skillController = skillControllers[skillOperateData.grooveIndex];

            skillController.SetData(skillOperateData);
        }
예제 #2
0
 public void SetSelect(SkillOperateController controller)
 {
     if (selected != null && selected != controller)
     {
         CancelSelect(selected);
     }
     selected = controller;
     War.input.Skill();
     War.skillUse.selectImmediatelyView.gameObject.SetActive(true);
 }
예제 #3
0
        public void CancelSelect(SkillOperateController controller)
        {
            if (selected == controller)
            {
                selected = null;
                War.input.Normal();

                War.skillUse.selectImmediatelyView.gameObject.SetActive(false);
            }
        }