示例#1
0
 private void Update()
 {
     if (Run.instance)
     {
         if (Noclip.IsActivated)
         {
             Noclip.Update();
         }
     }
 }
示例#2
0
        private void Awake()
        {
            var miniRpc = MiniRpc.CreateInstance(GUID);

            new Log(Logger, miniRpc);
            TimeScaleNetwork = miniRpc.RegisterAction(Target.Client, (NetworkUser _, float f) => { HandleTimeScale(f); });

            Log.Message("Harb's and 's Version. Original by Morris1927.", LogLevel.Info, Log.Target.Bepinex);/*Check github for the other contributor, lmao*/

            Hooks.InitializeHooks();
            Noclip.Init(miniRpc);
        }