Exemple #1
0
        private void Update()
        {
            MacroSystem.Update();

            if (Run.instance && Command_Noclip.IsActivated)
            {
                Command_Noclip.Update();
            }
        }
Exemple #2
0
        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();
        }