static void Main(string[] args)
        {
            RuntimeExplorerApp explorer = RuntimeExplorerApp.Instance;

            //Auto Add Untiy Assembly
            List <string> unityAssemblyList = SeachUnityAssembly(".");

            foreach (string assemblyPath in unityAssemblyList)
            {
                explorer.LoadAssembly(assemblyPath);
            }

            explorer.LoadAssembly("ImGui.NET.dll");
            explorer.Open();
            //explorer.Run();
            Console.ReadLine();
        }
        static void Main(string[] args)
        {
            List <string> unityAssemblyList = new List <string>();

            Utils.Caller.Try(() =>
            {
                m_Explorer = RuntimeExplorerApp.Instance;

                //Auto add game assembly to explorer app
                unityAssemblyList = SearchUnityGameAssembly(".");
                foreach (string assemblyPath in unityAssemblyList)
                {
                    m_Explorer.LoadAssembly(assemblyPath);
                }

                m_Explorer.Run();
            });
        }
        void Start()
        {
            List <string> unityAssemblyList = new List <string>();

            Utils.Caller.Try(() =>
            {
                m_Explorer = RuntimeExplorerApp.Instance;

                //Auto add game assembly to explorer app
                unityAssemblyList = SearchUnityGameAssembly(".");
                foreach (string assemblyPath in unityAssemblyList)
                {
                    Utils.Logger.Info(name);
                    m_Explorer.LoadAssembly(assemblyPath);
                }

                m_Explorer.Run();
            });
        }
Beispiel #4
0
        public override void Entry(IModHelper helper)
        {
            List <string> unityAssemblyList = new List <string>();

            Console.WriteLine("Loader.SMAPI");

            Utils.Caller.Try(() =>
            {
                m_Explorer = RuntimeExplorerApp.Instance;

                //Auto add game assembly to explorer app
                unityAssemblyList = SearchGameAssembly(".");
                foreach (string assemblyPath in unityAssemblyList)
                {
                    m_Explorer.LoadAssembly(assemblyPath);
                }

                m_Explorer.Run();
            });
        }