Beispiel #1
0
        private static void InitializeInternal()
        {
            PluginLoader.InitializeDependencies();
            Wrappers.Initialize();

            /*MenuProcessor.Initialize();
             * MenuProcessor.AddCommands(PluginLoader.GetLoadedAssemblies());*/

            new Thread(() =>
            {
                Thread.Sleep(6000);

                PluginLoader.Initialize();

                m_mainObject = new GameObject("NekoClient");
                m_mainObject.AddComponent <PluginRunner>();

                UnityEngine.Object.DontDestroyOnLoad(m_mainObject);
            }).Start();
        }