Beispiel #1
0
        internal static void Main()
        {
            var debugger = new GameObject("PrefabDebugger");

            debugger.AddComponent <PrefabDebugger>();
            debuggerRectTransform = debugger.AddComponent <RectTransform>();
            inputGroup            = debugger.AddComponent <uGUI_InputGroup>();
            Logger.Debug("Debugger initialized");
        }
Beispiel #2
0
            internal static void Postfix(DevConsole __instance)
            {
                if (hooksLoaded)
                {
                    return;
                }
                hooksLoaded = true;

                __instance.gameObject.AddComponent <QMMHooks>();

                Logger.Debug("Old hooks loaded");

                Start?.Invoke();
            }