Class VariableJoystick
Implements
IPointerDownHandler
IDragHandler
IPointerUpHandler
Inherited Members
Namespace: Global
Assembly: Main.dll
Syntax
public class VariableJoystick : Joystick, IPointerDownHandler, IDragHandler, IPointerUpHandler
Properties
| Improve this Doc View SourceMoveThreshold
Declaration
public float MoveThreshold { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
| Improve this Doc View SourceHandleInput(Single, Vector2, Vector2, Camera)
Declaration
protected override void HandleInput(float magnitude, Vector2 normalised, Vector2 radius, Camera cam)
Parameters
Type | Name | Description |
---|---|---|
Single | magnitude | |
Vector2 | normalised | |
Vector2 | radius | |
Camera | cam |
Overrides
| Improve this Doc View SourceOnPointerDown(PointerEventData)
Declaration
public override void OnPointerDown(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData |
Overrides
| Improve this Doc View SourceOnPointerUp(PointerEventData)
Declaration
public override void OnPointerUp(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData |
Overrides
| Improve this Doc View SourceSetMode(JoystickType)
Declaration
public void SetMode(JoystickType joystickType)
Parameters
Type | Name | Description |
---|---|---|
JoystickType | joystickType |
Start()
Declaration
protected override void Start()
Overrides
Implements
IPointerDownHandler
IDragHandler
IPointerUpHandler