Added a Term way to add commands to the DebugConsole.
This commit is contained in:
parent
7038b46251
commit
e043d24fc4
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
m_EditorVersion: 5.6.0f3
|
||||
m_EditorVersion: 5.6.0xf3Linux
|
||||
|
Loading…
Reference in New Issue
Block a user