Class EcsHostBuilderCommandsExtensions
Extension methods for configuring the command system in the ECS host builder.
public static class EcsHostBuilderCommandsExtensions
- Inheritance
-
EcsHostBuilderCommandsExtensions
- Inherited Members
Methods
UseCommands(IEcsHostBuilder)
Configures the host to use both player and console command processing.
public static IEcsHostBuilder UseCommands(this IEcsHostBuilder hostBuilder)
Parameters
hostBuilderIEcsHostBuilder
Returns
- IEcsHostBuilder
The ECS host builder for chaining.
UseConsoleCommands(IEcsHostBuilder, Action<ConsoleCommandServiceOptions>?)
Configures the host to use console command processing.
public static IEcsHostBuilder UseConsoleCommands(this IEcsHostBuilder hostBuilder, Action<ConsoleCommandServiceOptions>? configure = null)
Parameters
hostBuilderIEcsHostBuilderconfigureAction<ConsoleCommandServiceOptions>An optional action to configure console command service options.
Returns
- IEcsHostBuilder
The ECS host builder for chaining.
UsePlayerCommands(IEcsHostBuilder, Action<PlayerCommandServiceOptions>?)
Configures the host to use player command processing.
public static IEcsHostBuilder UsePlayerCommands(this IEcsHostBuilder hostBuilder, Action<PlayerCommandServiceOptions>? configure = null)
Parameters
hostBuilderIEcsHostBuilderconfigureAction<PlayerCommandServiceOptions>An optional action to configure player command service options.
Returns
- IEcsHostBuilder
The ECS host builder for chaining.