Added a Term way to add commands to the DebugConsole.

This commit is contained in:
excitedneon 2017-05-08 04:01:47 +03:00
parent 7038b46251
commit e043d24fc4
2 changed files with 7 additions and 1 deletions

View File

@ -35,4 +35,10 @@ public class Term {
Console.Print(text);
}
}
public static void AddCommand(string command, string description, DebugConsoleAction.Action action) {
if (Console != null) {
Console.AddCommand(command, description, action);
}
}
}

View File

@ -1 +1 @@
m_EditorVersion: 5.6.0f3
m_EditorVersion: 5.6.0xf3Linux