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();
            });
        }
Exemple #3
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();
            });
        }