private void StartLevel() { if (!gameController.MenuAndLevelsDivided) { mainMenu?.DisActivateWindow(); } #if (INPUT_MOBILE) gameMenu?.ShowAdviceGameWindow("Control (Move: left, right, down, Rotate: up)!"); #else gameMenu?.ShowAdviceGameWindow("Control (Move: left, right, down -buttons, Rotate: up-button )!"); #endif timeManager.StartTime(); playFieldManager.InitNextDropObjectList(); MenuManager.Instance.GameRightPanelOpen(); }
public override void CheckLocalTask(int percentage) { base.CheckLocalTask(percentage); if (percentage > 0) { if (percentage > 10) { gameMenu?.ShowAdviceGameWindow("You so cool!"); } else { if (showStartMessage) { showStartMessage = false; gameMenu?.ShowAdviceGameWindow("Yes, continue it!"); } } } else { gameMenu?.ShowAdviceGameWindow("No-o-o-o-o!"); } }