Example #1
0
 // Update is called once per frame
 void Update()
 {
     if (ActiveTarget != null)
     {
         if (CanAttack)
         {
             //UnityEngine.Debug.Log("HEEEEEYYYuyyy");
             Skill skill = SelectSkill();
             if (skill != null)
             {
                 StartCoroutine(UseSkill(skill, movement.GetCenter(ActiveTarget)));
             }
         }
     }
 }