CommandRegistration

Namespace: WellFired.Command.Unity.Runtime

Description

This class is here to provide users with a single easy location to register all command objects with .:ref:Command<namespacewellfired_command>.

Public Static Methods

void RegisterCommandsOnConsoleStartup ( bool clearConsoleCommandEnabled, bool deviceIdCommandEnabled, bool inspectCommandEnabled, bool autoScrollCommandEnabled )
void UnRegisterCommandsOnConsoleExit ( )

Breakdown

  • void RegisterCommandsOnConsoleStartup ( bool clearConsoleCommandEnabled, bool deviceIdCommandEnabled, bool inspectCommandEnabled, bool autoScrollCommandEnabled )

    Description

    Called automatically when .:ref:Command<namespacewellfired_command> launches, you can add your own Registrations here. Don’t forget to match your DevelopmentCommands.Register call with a DevelopmentCommands.Unregister call by calling DevelopmentCommands.Unregister in CommandRegistration.UnRegisterCommandsOnConsoleExit

  • void UnRegisterCommandsOnConsoleExit ( )

    Description

    Called automatically when .:ref:Command<namespacewellfired_command> is destroyed, you can add your own Unregistrations here.