public void SkillButton(string className) { Ally ally = GetAlly(className); if (ally != null) { ally.CallSkill(); } }