private void CheckTurn() { if (!initiatives[currentTurn].isPlayer && isPlayerTurn) { Debug.Log("DESTROY CURSOR"); isPlayerTurn = false; cursorScript.Die(); } else if (initiatives[currentTurn].isPlayer && !isPlayerTurn) { Debug.Log("INSTANTIATE CURSOR"); isPlayerTurn = true; mapGeneratorScript.InstantiateCursor(playerCoords.x, playerCoords.y); cameraScript.GoTo(playerCoords); } else if (!initiatives[currentTurn].isPlayer && !isPlayerTurn) { cameraScript.GoTo(enemyCoords); enemyScript.StartTurn(); } }