コード例 #1
0
        private void SubmitInput()
        {
            string s = input.text.GetText().Replace("`", "");

            if (s.Length == 0)
            {
                return;
            }
            previousInputs.Add(s);
            currentInput = previousInputs.Count;
            input.text.SetText("`");
            input.StartTyping();
            output.SetText(output.GetText() + "\n" + Console.Console.ExecuteCommand(s));
            output.ScrollTo(1f);
        }