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