Class UnityPlayerInputManagerFactory
Factory for creating Unity PlayerInputManager components for managing multiple player connections.
Creates GameObject containers and configures PlayerInputManager with manual join behavior.
Provides standardized creation of manager components for multiplayer input handling.
Implements
Inherited Members
Namespace: Serenity.InputGateway.Infrastructure.Factories
Assembly: Serenity.UnityPlayerInput.Infrastructure.dll
Syntax
public class UnityPlayerInputManagerFactory : IPlayerInputManagerFactory
Constructors
UnityPlayerInputManagerFactory()
Declaration
public UnityPlayerInputManagerFactory()
Methods
Create(string)
Creates a new PlayerInputManager component configured for manual player joining.
Sets up GameObject container and configures the manager for controlled player connection handling.
Declaration
public object Create(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name for the GameObject hosting the PlayerInputManager component. |
Returns
| Type | Description |
|---|---|
| object | The created PlayerInputManager component as an object. |