public bool Start(out string error) { if (!SocketController.Start(out error)) { return(false); } if (!ConnectionManager.Start(out error)) { Log(error); return(false); } if (!Terrain.Start(out error)) { Log(error); return(false); } //Run all foreach (var thread in updateThreads) { thread.Start(thread); } return(true); }
void Start() { socket_controller_ = new SocketController(); socket_controller_.Start(); socket_controller_.game_manager_ = this; Time.timeScale = 0f; game_over_text_.enabled = false; won_text_.enabled = false; }