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