//--------------------------------------BUTTON PRESSES----------------------------------------// public void OnAttack() { EnableAllButtons(false); EnableItemButtons(false); EnableMagicButtons(false); EnableSpecialButton(false); switch (currentTurn) { case Turn.PALADIN: { paladinController.StartCoroutine(paladinController.OnAttack()); } break; case Turn.VALKYRIE: { valkyrieController.StartCoroutine(valkyrieController.OnAttack()); } break; case Turn.SAGE: { sageController.StartCoroutine(sageController.OnAttack()); } break; } }