Tanoda
UnityEngine.UI.Extensions.UI_Knob Class Reference
Inheritance diagram for UnityEngine.UI.Extensions.UI_Knob:

Public Types

enum  Direction { CW , CCW }
 

Public Member Functions

override void OnPointerUp (PointerEventData eventData)
 
override void OnPointerEnter (PointerEventData eventData)
 
override void OnPointerExit (PointerEventData eventData)
 
override void OnPointerDown (PointerEventData eventData)
 
void OnDrag (PointerEventData eventData)
 
virtual void OnInitializePotentialDrag (PointerEventData eventData)
 

Public Attributes

Direction direction = Direction.CW
 
float knobValue
 
float maxValue = 0
 
int loops = 1
 
bool clampOutput01 = false
 
bool snapToPosition = false
 
int snapStepsPerLoop = 10
 
KnobFloatValueEvent OnValueChanged
 

Protected Member Functions

override void Awake ()
 

Detailed Description

Definition at line 28 of file UI_Knob.cs.

Member Enumeration Documentation

◆ Direction

Enumerator
CW 
CCW 

Definition at line 30 of file UI_Knob.cs.

Member Function Documentation

◆ Awake()

override void UnityEngine.UI.Extensions.UI_Knob.Awake ( )
protected

Definition at line 56 of file UI_Knob.cs.

◆ OnDrag()

void UnityEngine.UI.Extensions.UI_Knob.OnDrag ( PointerEventData  eventData)

Definition at line 93 of file UI_Knob.cs.

◆ OnInitializePotentialDrag()

virtual void UnityEngine.UI.Extensions.UI_Knob.OnInitializePotentialDrag ( PointerEventData  eventData)
virtual

Definition at line 198 of file UI_Knob.cs.

◆ OnPointerDown()

override void UnityEngine.UI.Extensions.UI_Knob.OnPointerDown ( PointerEventData  eventData)

Definition at line 75 of file UI_Knob.cs.

◆ OnPointerEnter()

override void UnityEngine.UI.Extensions.UI_Knob.OnPointerEnter ( PointerEventData  eventData)

Definition at line 65 of file UI_Knob.cs.

◆ OnPointerExit()

override void UnityEngine.UI.Extensions.UI_Knob.OnPointerExit ( PointerEventData  eventData)

Definition at line 69 of file UI_Knob.cs.

◆ OnPointerUp()

override void UnityEngine.UI.Extensions.UI_Knob.OnPointerUp ( PointerEventData  eventData)

Definition at line 61 of file UI_Knob.cs.

Member Data Documentation

◆ clampOutput01

bool UnityEngine.UI.Extensions.UI_Knob.clampOutput01 = false

Definition at line 40 of file UI_Knob.cs.

◆ direction

Direction UnityEngine.UI.Extensions.UI_Knob.direction = Direction.CW

Definition at line 32 of file UI_Knob.cs.

◆ knobValue

float UnityEngine.UI.Extensions.UI_Knob.knobValue

Definition at line 34 of file UI_Knob.cs.

◆ loops

int UnityEngine.UI.Extensions.UI_Knob.loops = 1

Definition at line 38 of file UI_Knob.cs.

◆ maxValue

float UnityEngine.UI.Extensions.UI_Knob.maxValue = 0

Definition at line 36 of file UI_Knob.cs.

◆ OnValueChanged

KnobFloatValueEvent UnityEngine.UI.Extensions.UI_Knob.OnValueChanged

Definition at line 46 of file UI_Knob.cs.

◆ snapStepsPerLoop

int UnityEngine.UI.Extensions.UI_Knob.snapStepsPerLoop = 10

Definition at line 44 of file UI_Knob.cs.

◆ snapToPosition

bool UnityEngine.UI.Extensions.UI_Knob.snapToPosition = false

Definition at line 42 of file UI_Knob.cs.


The documentation for this class was generated from the following file: