// Called from Canvas/SkillManager EventTrigger public void ShootSkill() { if (selectedSkill == null) { return; } selectedSkill.Shoot(CursorBehaviour.GetWorldPosition()); selectedSkill.OnDeselect(); selectedSkill = null; }
// Called from Canvas/SkillManager EventTrigger public void ShootSkill() { if (selectedSkill == null) { return; } selectedSkill.Shoot(CursorBehaviour.GetWorldPosition()); selectedSkill.OnDeselect(); selectedSkill = null; }