C# Class VirtualJoystick, MobileGameDevWithUnity1stEd

Inheritance: MonoBehaviour, IDragHandler, IPointerUpHandler, IPointerDownHandler
ファイルを表示 Open project: thesecretlab/MobileGameDevWithUnity1stEd Class Usage Examples

Public Properties

Property Type Description
delta Vector2
thumb UnityEngine.RectTransform

Public Methods

Method Description
OnBeginDrag ( PointerEventData eventData ) : void
OnDrag ( PointerEventData eventData ) : void
OnEndDrag ( PointerEventData eventData ) : void
Start ( ) : void

Method Details

OnBeginDrag() public method

public OnBeginDrag ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
return void

OnDrag() public method

public OnDrag ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
return void

OnEndDrag() public method

public OnEndDrag ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
return void

Start() public method

public Start ( ) : void
return void

Property Details

delta public_oe property

public Vector2 delta
return Vector2

thumb public_oe property

public RectTransform,UnityEngine thumb
return UnityEngine.RectTransform