Ejemplo n.º 1
0
 void Awake()
 {
     instance = this;
     if (config == null) config = Resources.Load<TerminalConfig>("Config/ZSH");
     if (mobileTouchCount <= 0) mobileTouchCount = 4;
     autoCompIndex = 0;
     autoCompList = new List<string>();
     terminalMethods = new TerminalMethods();
     inputHandler = new TerminalInputHandler(this);
     terminalGui = new TerminalGUI(this);
 }
Ejemplo n.º 2
0
 void Awake()
 {
     DontDestroyOnLoad(gameObject);
     if (config == null)
     {
         config = Resources.Load <TerminalConfig>("Config/ZSH");
     }
     if (mobileTouchCount <= 0)
     {
         mobileTouchCount = 4;
     }
     AutoCompIndex   = 0;
     AutoCompList    = new List <string>();
     terminalMethods = new TerminalMethods();
     inputHandler    = new TerminalInputHandler(this);
     terminalGui     = new TerminalGUI(this);
     logStack        = new LogStack(config);
 }