public override void Enter()
 {
     base.Enter();
     if (IsBattleOver())
     {
         if (DidPlayerWin())
         {
             data = Resources.Load <ConversationData>("Conversations/OutroSceneWin");
         }
         else
         {
             data = Resources.Load <ConversationData>("Conversations/OutroSceneLose");
         }
     }
     else
     {
         if (SceneManager.GetActiveScene().name == "BattleFront" || SceneManager.GetActiveScene().name == "Test")
         {
             data = Resources.Load <ConversationData>("Conversations/BattleFrontIntro");
         }
         else
         {
             data = Resources.Load <ConversationData>("Conversations/AmbushIntro");
         }
     }
     conversationController.Show(data);
 }
Ejemplo n.º 2
0
 public override void Enter()
 {
     // CutSceneState 상태가 되면
     // 대화 상자 연출이 진행된다.
     base.Enter();
     conversationController.Show(data);
 }
Ejemplo n.º 3
0
        public override void Enter()
        {
            base.Enter();
            if (IsBattleOver())
            {
                if (DidPlayerWin())
                {
                    data = Resources.Load <ConversationData>("Conversations/" + outroWinScene);
                }
                else
                {
                    data = Resources.Load <ConversationData>("Conversations/" + outroLoseScene);
                }
            }
            else
            {
                data = Resources.Load <ConversationData>("Conversations/" + introScene);
            }

            if (data == null)
            {
                StartCoroutine("NextStateCoroutine");
                return;
            }

            conversationController.Show(data);
        }
Ejemplo n.º 4
0
    public override void Enter()
    {
        base.Enter();

        /*
         * if (IsBattleOver())
         * {
         *      if (DidPlayerWin())
         *              data = Resources.Load<ConversationData>("Conversations/OutroSceneWin");
         *      else
         *              data = Resources.Load<ConversationData>("Conversations/OutroSceneLose");
         * }
         * else
         * {
         *      data = Resources.Load<ConversationData>("Conversations/IntroScene");
         * }
         */
        conversationController.Show(data);
    }
Ejemplo n.º 5
0
 public override void Enter()
 {
     base.Enter();
     if (IsBattleOver())
     {
         if (DidPlayerWin())
         {
             data = Resources.Load <ConversationData>("Conversations/OutroSceneWin");
         }
         else
         {
             data = Resources.Load <ConversationData>("Conversations/OutroSceneLose");
         }
     }
     else
     {
         data = Resources.Load <ConversationData>("Conversations/zzzz");
     }
     conversationController.Show(data);
 }
 public override void Enter()
 {
     base.Enter();
     conversationController.Show(data);
 }
Ejemplo n.º 7
0
 public override void Enter()
 {
     base.Enter();
     data = Resources.Load <ConversationData>("Conversations/Test");
     conversationController.Show(data);
 }