void OnSkillProduce(SkillOperateData skillOperateData) { Debug.Log("skillOperateData.grooveIndex=" + skillOperateData.grooveIndex); SkillOperateController skillController = skillControllers[skillOperateData.grooveIndex]; skillController.SetData(skillOperateData); }
public void SetSelect(SkillOperateController controller) { if (selected != null && selected != controller) { CancelSelect(selected); } selected = controller; War.input.Skill(); War.skillUse.selectImmediatelyView.gameObject.SetActive(true); }
public void CancelSelect(SkillOperateController controller) { if (selected == controller) { selected = null; War.input.Normal(); War.skillUse.selectImmediatelyView.gameObject.SetActive(false); } }