Guest User

Untitled

a guest
Jun 21st, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. private void EndGame()
  2. {
  3. if (isWhiteTurn)
  4. Debug.Log("White team won!");
  5. else
  6. Debug.Log("Black team won!");
  7.  
  8. foreach (GameObject go in activeFigures)
  9. Destroy(go);
  10.  
  11. isWhiteTurn = true;
  12. BoardHighlighting.Instance.HideHighlights();
  13. SpawnAllChessFigures();
  14. }
Add Comment
Please, Sign In to add comment