Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void EndGame()
- {
- if (isWhiteTurn)
- Debug.Log("White team won!");
- else
- Debug.Log("Black team won!");
- foreach (GameObject go in activeFigures)
- Destroy(go);
- isWhiteTurn = true;
- BoardHighlighting.Instance.HideHighlights();
- SpawnAllChessFigures();
- }
Add Comment
Please, Sign In to add comment