DevToolUtility

DevToolUtility static class which allow you access to low level API.

Namespace: RenownedGames.DevTool

Methods

GetRootDirectory

Collected root 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.

public static bool CreateCommand(MemberInfo memberInfo, Object instance, string path, int order, out Command command)Properties

CombinePathToInstance

Combine command path to specified Object instance.

public static bool CreateCommand(MemberInfo memberInfo, Object instance, string path, int o

Properties

Commands

Enumerate through all commands in project.

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.

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