Exemplo n.º 1
0
 private void ProcessInput(string str)
 {
     if (!string.IsNullOrEmpty(str))
     {
         XConsole.Excute(str);
         cmdCache.AddLast(str);
         currentCmd = null;
     }
 }
Exemplo n.º 2
0
        public void OnExcuteCmd(string cmd, object value)
        {
            XConsole.Instance.LogMessage(Message.Input(cmd));
            if (value != null)
            {
                XConsole.Log(value);
            }

            input.text = "";

            input.ActivateInputField();
        }
Exemplo n.º 3
0
 public static void ClearConsole()
 {
     XConsole.Clear();
 }