コード例 #1
0
 public ModLoader()
 {
     if (Application.platform == RuntimePlatform.WindowsPlayer)
     {
         this.myConsole = new MyConsole();
         mainConsole    = this.myConsole;
     }
     myConsole.tryLogCustom("Loading ModLoader Project " + version, logTag, LogType.Generic);
 }
コード例 #2
0
        public void startLoadProcedure()
        {
            mainConsole.tryLogCustom("Initiating load procedure", logTag, LogType.Generic);
            this.performDirCheck();

            try
            {
                this.loadPriorityMods();
            } catch (Exception e)
            {
                this.myConsole.logError(e);
            }
            try {
                this.loadMods();
            }
            catch (Exception e)
            {
                this.myConsole.logError(e);
            }
        }