Beispiel #1
0
 public void UseKnightSkill()
 {
     if (knightObj == null)
     {
         Debug.Log("knightObj is null, cannot use skill");
         return;
     }
     knightObj.UseSkill();
 }
Beispiel #2
0
 public void UsePriestSkill()
 {
     if (priestObj == null)
     {
         Debug.Log("priestObj is null, cannot use skill");
         return;
     }
     priestObj.UseSkill();
 }
Beispiel #3
0
 public void UseFireMageSkill()
 {
     if (fireMageObj == null)
     {
         Debug.Log("fireMageObj is null, cannot use skill");
         return;
     }
     fireMageObj.UseSkill();
 }
Beispiel #4
0
 public void UseIceMageSkill()
 {
     if (iceMageObj == null)
     {
         Debug.Log("iceMageObj is null, cannot use skill");
         return;
     }
     iceMageObj.UseSkill();
 }
Beispiel #5
0
 public void UseArcherSkill()
 {
     if (archerObj == null)
     {
         Debug.Log("archerObj is null, cannot use skill");
         return;
     }
     archerObj.UseSkill();
 }