private void Update() { MacroSystem.Update(); if (Run.instance && Command_Noclip.IsActivated) { Command_Noclip.Update(); } }
internal static void Init() { var dtcn = new GameObject("dtcn"); dtcn.AddComponent <NetworkIdentity>(); DebugToolKitComponents = dtcn.InstantiateClone("DebugToolKitComponentsNetworked"); UnityObject.Destroy(dtcn); Log.InitRPC(); Command_Noclip.InitRPC(); Command_Teleport.InitRPC(); DebugToolKitComponents.AddComponent <TimescaleNet>(); ApplyHook(); }