Skip to content

Commit 391f20b

Browse files
committed
Added some comments.
1 parent 1d7829f commit 391f20b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Runtime/DevConsoleMono.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ private string[] GetInput(string rawInput)
18971897

18981898
List<string> parameters = new List<string>()
18991899
{
1900-
split[0]
1900+
split[0] // command name (e.g. "print")
19011901
};
19021902
bool buildingParameter = false;
19031903
string parameter = "";
@@ -2039,6 +2039,7 @@ private void RefreshCommandSuggestions()
20392039
return;
20402040
}
20412041

2042+
// Get a collection of command suggestions and show the first result
20422043
_commandSuggestions = GetCommandSuggestions(InputText);
20432044
_commandSuggestionIndex = 0;
20442045
_suggestionText.text = _commandSuggestions.FirstOrDefault() ?? string.Empty;

0 commit comments

Comments
 (0)