Constructor LightUnitSliderUIRange
LightUnitSliderUIRange(Texture2D, string, Vector2)
Constructor
Declaration
public LightUnitSliderUIRange(Texture2D icon, string tooltip, Vector2 value)
Parameters
Type | Name | Description |
---|---|---|
Texture2D | icon | The icon |
string | tooltip | The tooltip |
Vector2 | value | The min and max values |
LightUnitSliderUIRange(Texture2D, string, Vector2, float)
Constructor
Declaration
public LightUnitSliderUIRange(Texture2D icon, string tooltip, Vector2 value, float presetValue)
Parameters
Type | Name | Description |
---|---|---|
Texture2D | icon | The icon |
string | tooltip | The tooltip |
Vector2 | value | The min and max values |
float | presetValue | The value given by the preset |