public void Attack() { if (opponent == null) { opponent = fightManager.GetOpponent(); // Get the opponent } StartCoroutine(AttackPhase()); fightManager.ButtonsActive(false); }