Exemplo n.º 1
0
    // Called from Canvas/SkillManager EventTrigger
    public void ShootSkill()
    {
        if (selectedSkill == null)
        {
            return;
        }

        selectedSkill.Shoot(CursorBehaviour.GetWorldPosition());
        selectedSkill.OnDeselect();
        selectedSkill = null;
    }