private void startResultModule() { if (resultModule == null) { return; } resultModule.start(gameData); }
private void startRunningModule() { if (runningModule == null) { return; } runningModule.OnFinished = new GameModule.OnFinishedDelegate(onRunningFinished); runningModule.start(gameData); }
private void startPauseModule() { if (pauseModule == null) { return; } pauseModule.OnFinished = new GameModule.OnFinishedDelegate(onPauseFinished); pauseModule.start(gameData); }
private void startResumeModule() { if (resumeModule != null) { resumeModule.OnFinished = new GameModule.OnFinishedDelegate(onResumeFinished); resumeModule.start(gameData); } else { onResumeFinished(); } }
private void playEnding() { if (endingModule != null) { endingModule.OnFinished = new GameModule.OnFinishedDelegate(onEndingFinished); endingModule.start(); } else { onEndingFinished(); } }
private void playOpening() { if (openingModule != null) { openingModule.OnFinished = new GameModule.OnFinishedDelegate(onOpeningFinished); openingModule.start(); } else { onOpeningFinished(); } }
void Start() { if (effectModule != null) { effectModule.start(); } if (openingAction != null) { GameAction.invoke(openingAction.gameObject); } }
private void startRankingModule() { if (guiLayer != null) { guiLayer.SetActive(false); } if (rankingModule != null) { rankingModule.start(); } }
public void startTutorial() { if (tutorialModule != null && tutorialEnabled) { tutorialModule.OnFinished = new GameModule.OnFinishedDelegate(onTutorialFinished); tutorialModule.start(); if (KinectManager.Instance != null) { KinectManager.Instance.DisplayColorMap = true; } } else { _tutorialRunning = false; onTutorialFinished(); } }