Exemple #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);
 }
Exemple #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);
 }
Exemple #3
0
 void Start()
 {
     instance = this;
     GroupManager.main.group["Terminal"].Add(this);
 }