Struct Slider
Namespace: Unity.Tiny.UI
Syntax
public struct Slider : IComponentData
Fields
Direction
Declaration
public SliderDirection Direction
Field Value
Type | Description |
---|---|
SliderDirection |
FillRect
Declaration
public Entity FillRect
Field Value
Type | Description |
---|---|
Entity |
HandleRect
Declaration
public Entity HandleRect
Field Value
Type | Description |
---|---|
Entity |
Range
Declaration
public float2 Range
Field Value
Type | Description |
---|---|
float2 |
Properties
IsInteractable
Declaration
public bool IsInteractable { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
UseWholeNumbers
Declaration
public bool UseWholeNumbers { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Value
Declaration
public float Value { get; set; }
Property Value
Type | Description |
---|---|
Single |