public void RotateCurrentBoard(float angle) { currentBoardController.ApplyRotation(new Vector3(0.0f, 1.0f, 0.0f), angle); if (currentAction == ActionState.OnSaw) { PlacePieceAtSpawnPoint(new Vector3(0.0f, 0.0f, -3.0f)); } else if (currentAction == ActionState.UsingRuler) { PlacePieceAtSpawnPoint(new Vector3(-3.0f, 0.0f, 0.0f)); } }
public void RotateCurrentBoard(float angle) { currentBoardController.ApplyRotation(new Vector3(0.0f, 1.0f, 0.0f), angle); }