Class UnityUiThemeComponents
Unity-specific implementation of UI theme components configuration.
Contains GameObject prefab templates for all UI component types used in the Serenity Unity UI system.
Implements IUiThemeComponents interface to provide foundation-agnostic access while maintaining Unity-specific functionality.
Implements
Inherited Members
Namespace: Serenity.Ui.Infrastructure.Entities
Assembly: Serenity.UnityUi.Infrastructure.dll
Syntax
public class UnityUiThemeComponents : IUiThemeComponents
Constructors
UnityUiThemeComponents()
Declaration
public UnityUiThemeComponents()
Fields
DropdownTemplate
Declaration
public GameObject DropdownTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for dropdown selection UI components. |
InputTemplate
Declaration
public GameObject InputTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for text input UI components. |
LoadingProgressTemplate
Declaration
public GameObject LoadingProgressTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for the gameplay loading-progress bar. |
ModalTemplate
Declaration
public GameObject ModalTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for modal dialog UI components. |
PrimaryInputPromptTemplate
Declaration
public GameObject PrimaryInputPromptTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for primary input prompt UI components. |
SelectableTemplate
Declaration
public GameObject SelectableTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for selectable option UI components. |
SlideableTemplate
Declaration
public GameObject SlideableTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for slider/range UI components. |
SubmittableTemplate
Declaration
public GameObject SubmittableTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for submit button UI components. |
TitleTemplate
Declaration
public GameObject TitleTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for title UI components. |
ToggleableTemplate
Declaration
public GameObject ToggleableTemplate
Field Value
| Type | Description |
|---|---|
| GameObject | GameObject prefab template for toggle/checkbox UI components. |
Methods
ToString()
Provides a comprehensive string representation of all configured component templates.
Lists all template prefab assignments for debugging and validation purposes.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | Formatted string containing all template prefab information |