private void OnEnable()
 {
     _butler = CreateInstance <ButlerWin64>();
     _butler.AppendConsoleMessage = Console.AppendContents;
     _butler.SetConsoleMessage    = Console.SetContents;
     _settingsEditor = Editor.CreateEditor(ButlerSettings.instance, typeof(ButlerSettingsEditor));
 }
Beispiel #2
0
 void InitializeButlerIfNecessary()
 {
     if (_butler != null)
     {
         return;
     }
     _butler = CreateInstance <ButlerWin64>();
     _butler.SetConsoleMessage    = SetConsoleContents;
     _butler.AppendConsoleMessage = AppendConsoleMessage;
 }
Beispiel #3
0
 void OnEnable()
 {
     _butler = CreateInstance <ButlerWin64>();
     _butler.SetConsoleMessage    = SetConsoleContents;
     _butler.AppendConsoleMessage = AppendConsoleMessage;
 }