Beispiel #1
0
        private TaskManager()
        {
            UpdateObject tobj = new UpdateObject("TaskManager", new Method.Method_Action(Update), null);

            tobj.MaxTime = MaxStep;
            GameUpdateManager.RegUpdate(tobj);
        }
Beispiel #2
0
        private void Awake()
        {
            UpdateObject tobj = new UpdateObject("UIManager", new Method.Method_Action(UIUpdate), null);

            tobj.MaxTime = 0;
            GameUpdateManager.RegUpdate(tobj);
        }
 private StateManager()
 {
     updateObject         = new UpdateObject("StateManager", new Method.Method_Action(Update), null);
     updateObject.MaxTime = 0;
     GameUpdateManager.RegUpdate(updateObject);
 }