/// <summary> /// Ends the game. if in debug mode writes the XML file, if not gets the next level. used after checking should load next level not upload /// </summary> public void EndGameMoveOn() { print("end game clicked"); //end of the round, player has clicked continue if (!_debugMode) { _flowScript.GetNextLevel(); } else { //if in debug mode write the event list file _trackingManager.XMLWriteEventList(controls); } }
//these control if you should get the next level or close the game public void OnClickedAgree() { //move to the first game level _gameFlow.GetNextLevel(); }