Example #1
0
 private void Update()
 {
     if (mController != null)
     {
         mController.StateUpdate();
     }
 }
Example #2
0
 // Update is called once per frame
 void Update()
 {
     if (mContorller != null)
     {
         mContorller.StateUpdate();
     }
 }
Example #3
0
 void Update()
 {
     if (controller != null)
     {
         controller.StateUpdate();
     }
 }
    void Update()
    {
        m_SceneStateController.StateUpdate();


        //游戏逻辑更新
        m_gameFunction.Update();
    }
Example #5
0
    // Update is called once per frame
    void Update()
    {
        //UnityEngine -> Update GameLoop -> StateUpdate State -> Update GameFacade(游戏系统、界面更新 InputProcess GameSystemUpdate UserInterfaceUpdate)
        //StateController -> State -> Update -> GameFacade -> Update
        sceneStateController.StateUpdate();

        //玩家控制
        UserInput();

        //游戏逻辑更新
        UpdateGameLogic();

        //画面更新
    }
Example #6
0
 // Update is called once per frame
 void Update()
 {
     m_SceneStateController.StateUpdate();
 }
Example #7
0
 // Update is called once per frame
 void Update()
 {
     sceneController.StateUpdate();
 }
Example #8
0
 // Update is called once per frame
 void Update()
 {
     stateController.StateUpdate();//启动场景管理器
 }
Example #9
0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameLoop : MonoBehaviour {

    private SceneStateController controller = null;

    private void Awake()
    {
        DontDestroyOnLoad(this.gameObject);
    }

    // Use this for initialization
    void Start () {
        controller = new SceneStateController();
        controller.SetState(new StartState(controller),false);
		
	}
	
	// Update is called once per frame
	void Update () {
        controller.StateUpdate();
	}
}

Example #10
0
 void Update()
 {
     _ui.Update();
     m_SceneStateController.StateUpdate();   //場景控制更新
     SkipTo();
 }
Example #11
0
 void Update()
 {
     //sceneStateUpdate函数调用
     sceneStateController.StateUpdate();
 }
Example #12
0
 void Update()
 {
     //调用控制器的状态更新
     m_SceneStateController.StateUpdate();
 }
Example #13
0
 // Update is called once per frame
 void Update()
 {
     //更新
     sceneStateController.StateUpdate();
 }
Example #14
0
 // Update is called once per frame
 void Update()
 {
     //Debug.Log("--------GameLoop-----U");
     m_sceneStateController.StateUpdate();
 }
Example #15
0
 void Update()
 {
     m_SceneStateController.StateUpdate();
     gameManage.Update();
 }
Example #16
0
 private void Update()
 {
     //更新
     _controller.StateUpdate();
 }
Example #17
0
 // Update is called once per frame
 void Update()
 {
     controller.StateUpdate();
 }
Example #18
0
    private void Update()
    {
        m_SceneStateController.StateUpdate();

        IUserInterfaceManager.GetInstance().Update();
    }