public void SkillActive(bool isLeft) { int AT = -1; if (isLeft) { AT = LeftSkill; } else { AT = RightSkill; } switch (AT) { case 0: scream.Active(); break; case 1: vibration.Active(); break; case 2: volumeUp.Active(); break; case 3: busking.Active(); break; case 4: spotLight.Active(); break; } }