Class JoystickController
Example script to demonstrate joystick control in sample scene
Inheritance
JoystickController
Assembly: cs.temp.dll.dll
public class JoystickController : MonoBehaviour
Fields
Declaration
Field Value
Declaration
public float ReboundSpeed
Field Value
Declaration
public float RotationSpeed
Field Value
Declaration
Field Value
Declaration
public float SensitivityForwardBack
Field Value
Declaration
public float SensitivityLeftRight
Field Value
Properties
Declaration
public JoystickMode Mode { get; set; }
Property Value
Declaration
public GameObject TargetObject { get; set; }
Property Value
Type |
Description |
GameObject |
|
Methods
Set the joystick mode from a UI button.
Declaration
public void JoystickModeMove()
Set the joystick mode from a UI button.
Declaration
public void JoystickModeRotate()
Set the joystick mode from a UI button.
Declaration
public void JoystickModeScale()
The ObjectManipulator script uses this to determine when the joystick is grabbed.
Declaration
The ObjectManipulator script uses this to determine when the joystick is released.
Declaration