public static void StartGame() { NetController.CreateServer(); singleton.DestroyAllBubblesInDict(); singleton._curGameMode = GameMode.single; singleton._curLevel = 1; singleton._score = 0; ResourceManager.GenerateNewTexturesSet(); singleton.smallBubbleSpeed = ConfigDictionary.Config.baseSmallBubbleSpeed; singleton.bigBubbleSpeed = ConfigDictionary.Config.baseBigBubbleSpeed; singleton._levelTimer = ConfigDictionary.Config.levelTime; singleton.bubbleGenerationDelay = ConfigDictionary.Config.baseBubbleGenerationDelay; singleton.StartCoroutine(singleton.GenerateBubblesForSingleGame()); }