示例#1
0
    // called when we get to the intro panel
    void InitIntroPanel()
    {
        Skinning.ResetSkin(selectedSkin);

        if (introManager == null)
        {
            Debug.LogError(debuguableInterface.debugLabel + "IntroManager component shouldn't be null. If we can't get scene references we can't do anything.");
            return;
        }

        introManager.Init(
            useCheats,
            () => panelManager.JumpTo(GamePhase.SHOGUN, () =>
        {
            shogunManager = FindObjectOfType <ShogunManager>();
            shogunManager.PreInit(
                GameState.NORMAL,
                gameData.enemyContent.Find(item => { return(item.enemy == actualEnemy); }).shogunDialogue,
                AddClueToPlayer
                );

            audioProjectManager.FadeMusicOut();
        }));
    }
 void StartIntro()
 {
     introManeger.enabled = true;
     introManeger.Init("Intro");
     introManeger.StartLine();
 }