protected override void Initialize() { base.Initialize(); RegisterProjectFactory(new CryEngineProjectFactory(this)); OutputHandler.Initialize(this); if (System.Diagnostics.Debugger.IsAttached) { DebuggerLoggingService.CustomLogger = new DebugOutputLogger(); } else { DebuggerLoggingService.CustomLogger = new FileLogger(); } LauncherCommands.Initialize(this); }
/// <summary> /// Initializes the singleton instance of the command. /// </summary> /// <param name="package">Owner package, not null.</param> public static void Initialize(Package package) { Instance = new LauncherCommands(package); }
protected override void Close() { base.Close(); LauncherCommands.HideCommands(); }