// Submit on input field sends to text field
    void OnInputSubmit(string input)
    {
        // Print command to console
        PrintToConsole("\n> " + input);

        // Interpret
        bool success;

        PrintToConsole(CommandsManager.GetConsoleCommands().Interpret(this, input, out success));

        // Remember Command
        commandMemory.Add(input);
        memoryIndex = commandMemory.Count;
        while (commandMemory.Count > commandMemoryLength)
        {
            commandMemory.RemoveAt(0);
        }

        // Reset inputField
        inputField.text = "";
    }