Exemplo n.º 1
0
        public static void Init()
        {
            if (updateFunction != null)
            {
                return;
            }

            updateFunction = RosaceUpdate.Update;

            Physics.autoSimulation     = false;
            Physics.autoSyncTransforms = false;

            PlayerLoopInjector.InjectSubsystem <Rosace, RosaceUpdate, FixedUpdate>(updateFunction);
        }
Exemplo n.º 2
0
 static void InitFrameLimiter()
 {
     PlayerLoopInjector.InjectSubsystem <FrameLimiter, FrameLimiterUpdate, Initialization>(FrameLimiterUpdate.Update);
 }