public ModLoader() { if (Application.platform == RuntimePlatform.WindowsPlayer) { this.myConsole = new MyConsole(); mainConsole = this.myConsole; } myConsole.tryLogCustom("Loading ModLoader Project " + version, logTag, LogType.Generic); }
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); } }