Class SliderTick
Handles position and colour of a Slider Tick displayed on-screen.
Assembly: MouseDance.Runtime.dll
Syntax
public class SliderTick : MonoBehaviour
Fields
_image
Declaration
[SerializeField]
[Tooltip("Used to colourise the Slider Tick.")]
protected Image _image
Field Value
Type |
Description |
UnityEngine.UI.Image |
|
Declaration
[SerializeField]
[Tooltip("Used for positioning the Slider Tick.")]
protected RectTransform _rectTransform
Field Value
Methods
Show(Vector2, Color32)
Show the Slider Tick in a specific position and colour.
Declaration
public virtual void Show(Vector2 pos, Color32 colour)
Parameters
Extension Methods