// Update is called once per frame
 void Update()
 {
     if (!m_Freezed)
     {
         m_Runner.Update();
     }
 }
 public override void OnExecute()
 {
     m_InnerRunner.Update();
     if (m_InnerRunner.GetCurrentState() == (int)RunSingleTurnState.Over)
     {
         m_Runner.SetCurrentState((int)GameMasterState.CheckGoal, "turn over");
     }
 }
Exemplo n.º 3
0
        // Update is called once per frame
        void Update()
        {
            m_Runner.Update();

            if (Input.GetButton("Start"))
            {
                GameSceneManager.GetInstance().LoadPauseMenuScene();
            }
        }
Exemplo n.º 4
0
        void Update()
        {
            m_Runner.Update();
            //state nothing

            //state start battle
            //state activate UI Battle
            //state fade to black
            //state deactive UI battle
            //state prepare and load battle scene
        }
Exemplo n.º 5
0
 // Update is called once per frame
 void LateUpdate()
 {
     m_Runner.Update();
 }
Exemplo n.º 6
0
 // Update is called once per frame
 void Update()
 {
     m_Runner.Update();
 }