Пример #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);