DevToolUtility
DevToolUtility static class which allow you access to low level API.
Namespace: RenownedGames.DevTool
Methods
GetRootDirectory
Collected root directory.
None
Directory
For performance reasons, it is recommended to not use this function every frame. Instead, cache the result in a member variable at startup.
public static Directory GetRootDirectory();CreateCommand
Create command instance by specified member.
MemberInfo: MemberInfo referenceInstance: Instance of member info, only for non-static membersPath: Path to commandOrder: Command orderCommand: Output reference of command instance
Bool: True if command possible to create.
public static bool CreateCommand(MemberInfo memberInfo, Object instance, string path, int order, out Command command)PropertiesCombinePathToInstance
Combine command path to specified Object instance.
Instance: Command Object instance.Path: Path to command
String: New path to specified Object.
public static bool CreateCommand(MemberInfo memberInfo, Object instance, string path, int oProperties
Commands
Enumerate through all commands in project.
IEnumerable<Commands>
For performance reasons, it is recommended to not use this function every frame. Instead, cache the result in a member variable at startup.
public static IEnumerable<Command> Commands;OrderedCommands
Enumerate through all commands in project ordered by priority.
IEnumerable<Commands>
For performance reasons, it is recommended to not use this function every frame. Instead, cache the result in a member variable at startup.
public static IEnumerable<Command> OrderedCommands;Last updated