// Changing game mode void ChangeModeButton() { Debug.Log("Mode Changing"); Debug.Log("Previous Mode: " + GameMode); if (GameMode == GameConstants.Mode_Game) { GameMode = GameConstants.Mode_Sandbox; Debug.Log("Showing All Node Utilities"); NewNodeController.ShowingNodeUtilityGroup(GameObject_NodeUtilityGroup, GameObject_NodeGroup); } else if (GameMode == GameConstants.Mode_Sandbox) { GameMode = GameConstants.Mode_Game; Debug.Log("Destroying All Node Utilities"); NewNodeController.DestoryNodeUtilityGroup(GameObject_NodeGroup); } else { Debug.Log("Invalid Game Mode, Initializing Game Mode Now"); GameMode = GameConstants.Mode_Game; NewNodeController.DestoryNodeUtilityGroup(GameObject_NodeGroup); } TestPrint(); Debug.Log("Current Mode: " + GameMode); }