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

        skill.Execute();
    }