Class UnityModalInstallerInput
Data Transfer Object containing all required dependencies for Unity Modal system installation.
Aggregates services, factories, and configuration objects needed for modal system initialization.
Provides structured input validation and dependency injection setup for the modal installer.
Encapsulates Unity-specific components including Canvas, UI themes, and audio integration.
Inherited Members
Namespace: Serenity.Modal.Installation.DTO
Assembly: Serenity.UnityModal.Installation.dll
Syntax
public class UnityModalInstallerInput
Constructors
UnityModalInstallerInput(Canvas, IUiThemeDefinition, IGameSettingsService, AudioPlayerPlayClip, string, IEventDispatcherService, UnityUiSubmitComponentFactory, IFoundationViewElementFactory, IUiService, IPlayerInputService, ILogService)
Initializes a new instance of UnityModalInstallerInput with all required dependencies.
Assigns all provided services and components to their respective properties.
Provides comprehensive dependency aggregation for modal system installation.
Declaration
public UnityModalInstallerInput(Canvas canvas, IUiThemeDefinition theme, IGameSettingsService gameSettingsService, AudioPlayerPlayClip audioPlayerPlayClip, string audioPlayerServiceId, IEventDispatcherService eventDispatcherService, UnityUiSubmitComponentFactory uiSubmitViewFactory, IFoundationViewElementFactory foundationViewElementFactory, IUiService uiService, IPlayerInputService playerInputService, ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| Canvas | canvas | Unity Canvas component for UI rendering. |
| IUiThemeDefinition | theme | UI theme definition for visual and audio styling. |
| IGameSettingsService | gameSettingsService | Service for game settings management. |
| AudioPlayerPlayClip | audioPlayerPlayClip | Audio playback functionality. |
| string | audioPlayerServiceId | Audio service identifier. |
| IEventDispatcherService | eventDispatcherService | Event dispatching service. |
| UnityUiSubmitComponentFactory | uiSubmitViewFactory | Submit component factory. |
| IFoundationViewElementFactory | foundationViewElementFactory | Foundation view element factory. |
| IUiService | uiService | Core UI management service. |
| IPlayerInputService | playerInputService | Player input handling service. |
| ILogService | logService | Logging service for error reporting. |
Fields
AudioPlayerPlayClip
Declaration
public AudioPlayerPlayClip AudioPlayerPlayClip
Field Value
| Type | Description |
|---|---|
| AudioPlayerPlayClip | Audio playback functionality for UI sound effects. |
AudioPlayerServiceId
Declaration
public string AudioPlayerServiceId
Field Value
| Type | Description |
|---|---|
| string | Identifier for the audio player service instance. |
Canvas
Declaration
public Canvas Canvas
Field Value
| Type | Description |
|---|---|
| Canvas | Unity Canvas component for rendering modal UI elements. |
ControllerId
Declaration
public string ControllerId
Field Value
| Type | Description |
|---|---|
| string | Id for the modal controller GameObject. |
EventDispatcherService
Declaration
public IEventDispatcherService EventDispatcherService
Field Value
| Type | Description |
|---|---|
| IEventDispatcherService | Service for dispatching and handling modal-related events. |
FoundationViewElementFactory
Declaration
public IFoundationViewElementFactory FoundationViewElementFactory
Field Value
| Type | Description |
|---|---|
| IFoundationViewElementFactory | Factory for creating foundation UI view elements. |
GameSettingsService
Declaration
public IGameSettingsService GameSettingsService
Field Value
| Type | Description |
|---|---|
| IGameSettingsService | Service for managing persistent game settings and option values. |
LogService
Declaration
public ILogService LogService
Field Value
| Type | Description |
|---|---|
| ILogService | Service for logging operations and error reporting. |
PlayerInputService
Declaration
public IPlayerInputService PlayerInputService
Field Value
| Type | Description |
|---|---|
| IPlayerInputService | Service for managing player input handling and controllers. |
ServiceId
Declaration
public string ServiceId
Field Value
| Type | Description |
|---|---|
| string | Id for the modal service instance. |
Theme
Declaration
public IUiThemeDefinition Theme
Field Value
| Type | Description |
|---|---|
| IUiThemeDefinition | UI theme definition providing visual styling and audio configuration. |
UiService
Declaration
public IUiService UiService
Field Value
| Type | Description |
|---|---|
| IUiService | Core UI service for font sizing and scale management. |
UiSubmitViewFactory
Declaration
public UnityUiSubmitComponentFactory UiSubmitViewFactory
Field Value
| Type | Description |
|---|---|
| UnityUiSubmitComponentFactory | Factory for creating UI submit button components. |