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