示例#1
0
    private void startResultModule()
    {
        if (resultModule == null)
        {
            return;
        }

        resultModule.start(gameData);
    }
示例#2
0
    private void startRunningModule()
    {
        if (runningModule == null)
        {
            return;
        }

        runningModule.OnFinished = new GameModule.OnFinishedDelegate(onRunningFinished);
        runningModule.start(gameData);
    }
示例#3
0
    private void startPauseModule()
    {
        if (pauseModule == null)
        {
            return;
        }

        pauseModule.OnFinished = new GameModule.OnFinishedDelegate(onPauseFinished);
        pauseModule.start(gameData);
    }
示例#4
0
 private void startResumeModule()
 {
     if (resumeModule != null)
     {
         resumeModule.OnFinished = new GameModule.OnFinishedDelegate(onResumeFinished);
         resumeModule.start(gameData);
     }
     else
     {
         onResumeFinished();
     }
 }
示例#5
0
 private void playEnding()
 {
     if (endingModule != null)
     {
         endingModule.OnFinished = new GameModule.OnFinishedDelegate(onEndingFinished);
         endingModule.start();
     }
     else
     {
         onEndingFinished();
     }
 }
示例#6
0
 private void playOpening()
 {
     if (openingModule != null)
     {
         openingModule.OnFinished = new GameModule.OnFinishedDelegate(onOpeningFinished);
         openingModule.start();
     }
     else
     {
         onOpeningFinished();
     }
 }
示例#7
0
    void Start()
    {
        if (effectModule != null)
        {
            effectModule.start();
        }

        if (openingAction != null)
        {
            GameAction.invoke(openingAction.gameObject);
        }
    }
示例#8
0
    private void startRankingModule()
    {
        if (guiLayer != null)
        {
            guiLayer.SetActive(false);
        }

        if (rankingModule != null)
        {
            rankingModule.start();
        }
    }
示例#9
0
    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();
        }
    }