void EndTurn() { TankEntity currPlayer = playerTanks[currentPlayerIndex]; TankControls controls = currPlayer.GetComponent <TankControls>(); controls.EnableInput(false); IncreasePlayerIndex(); }
void BeginTurn() { TankEntity currPlayer = playerTanks[currentPlayerIndex]; TankControls controls = currPlayer.GetComponent <TankControls>(); controls.EnableInput(true); currPlayer.Select(); }