API reference
API reference
Select your platform
No SDKs available
No versions available

Slider Class

Extends Button, IDragHandler, IInitializePotentialDragHandler
This is a MonoBehaviour for the slider UI element.
It's used for the float/int debug data's tweaking in the Inspector panel of Immersive Debugger. For more info about Immersive Debugger, check out the official doc

Properties

EmptyBackgroundStyle : ImageStyle
[Set]
The background style when the slider is not filled (normally on the right hand side of the slider)
Signature
ImageStyle EmptyBackgroundStyle
FillBackgroundStyle : ImageStyle
[Set]
The background style when the slider is filled (normally on the left hand side of the slider)
Signature
ImageStyle FillBackgroundStyle

Protected Methods

Setup ( owner )
Signature
override void Setup(Controller owner)
Parameters
owner: Controller
Returns
override void

Methods

OnDrag ( eventData )
The callback implementation for the OnDrag event.
Signature
void OnDrag(PointerEventData eventData)
Parameters
eventData: PointerEventData  The pointer event data for the drag gesture
Returns
void
OnInitializePotentialDrag ( eventData )
The callback implementation for the OnInitializePotentialDrag event.
Signature
void OnInitializePotentialDrag(PointerEventData eventData)
Parameters
eventData: PointerEventData  The pointer event data for the potential drag gesture
Returns
void