예제 #1
0
        public void OnDiscover()
        {
            for (int i = 0; i < 3; i++)
            {
                GlobalTime.Apply(i, 0F, 0F);
            }

            SystemsInjector.RegisterUpdateSystem(_executionindex, this);
            SystemsInjector.RegisterFixedSystem(_executionindex, this);
            SystemsInjector.RegisterLateSystem(_executionindex, this);
        }
예제 #2
0
 public void OnLateUpdate()
 =>
 GlobalTime.Apply(2, Time.deltaTime, Time.time);
예제 #3
0
 public void OnFixedUpdate()
 =>
 GlobalTime.Apply(1, Time.fixedDeltaTime, Time.fixedTime);
예제 #4
0
 public void OnUpdate()
 =>
 GlobalTime.Apply(0, Time.deltaTime, Time.time);