예제 #1
0
        public void GetInput(GameObject skillUser, KeyCode input)
        {
            SkillTree targetSkillTree = mGo2Skills[skillUser].Find(skillTree => skillTree.ShortCut == input);

            if (targetSkillTree != null)
            {
                targetSkillTree.Use();
            }
        }
예제 #2
0
        public void GetInput(GameObject skillUser, KeyCode input)
        {
            SkillTree targetSkillTree = mGo2Skills[skillUser].Find(skillTree => skillTree.ShortCut == input);

            if (targetSkillTree != null)
            {
                targetSkillTree.Use(AoiService.GetEntity(skillUser.transform));
            }
        }