Beispiel #1
0
 public void ActivateSkill()
 {
     foreach (string st in ScriptName)
     {
         CommonSkill skill = transform.GetComponent(st) as CommonSkill;
         skill.Execute();
     }
 }
Beispiel #2
0
    public void ActivateSkill()
    {
        CommonSkill skill = transform.GetComponent(ScriptName) as CommonSkill;

        skill.Execute();
    }