Class UnityGameSettingsSetBoolValueInput
Unity-specific input DTO for setting boolean game setting values. Extends the base GameSettingsSetBoolValueInput with Unity foundation integration for type-safe boolean game settings modification operations.
Namespace: Serenity.InterfaceAdapters.DTO
Assembly: Serenity.UnityGlobal.InterfaceAdapters.dll
Syntax
public class UnityGameSettingsSetBoolValueInput : GameSettingsSetBoolValueInput
Constructors
UnityGameSettingsSetBoolValueInput(string, bool)
Initializes a new instance of the UnityGameSettingsSetBoolValueInput with boolean value.
Creates input data for setting a boolean game setting value by ID.
Declaration
public UnityGameSettingsSetBoolValueInput(string id, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | Unique identifier of the boolean game setting to modify |
| bool | value | New boolean value to set for the game setting |
UnityGameSettingsSetBoolValueInput(string, string)
Initializes a new instance of the UnityGameSettingsSetBoolValueInput with string value.
Creates input data for setting a boolean game setting using string representation.
Declaration
public UnityGameSettingsSetBoolValueInput(string id, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | Unique identifier of the boolean game setting to modify |
| string | value | String representation of the boolean value to set |