private void ProcessInput(string str) { if (!string.IsNullOrEmpty(str)) { XConsole.Excute(str); cmdCache.AddLast(str); currentCmd = null; } }
public void OnExcuteCmd(string cmd, object value) { XConsole.Instance.LogMessage(Message.Input(cmd)); if (value != null) { XConsole.Log(value); } input.text = ""; input.ActivateInputField(); }
public static void ClearConsole() { XConsole.Clear(); }