C# Class UnityStandardAssets.CrossPlatformInput.TouchJoystick

Inheritance: UnityEngine.MonoBehaviour, IPointerDownHandler, IPointerUpHandler
显示文件 Open project: googlecodelabs/cast-unity-plugin

Public Properties

Property Type Description
horizontalAxisName string
joystickTexture UnityEngine.Texture
ringTexture UnityEngine.Texture
verticalAxisName string
xSensitivity float
ySensitivity float

Public Methods

Method Description
CreateVirtualAxes ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
OnPointerDown ( PointerEventData data ) : void
OnPointerUp ( PointerEventData data ) : void
Start ( ) : void
Update ( ) : void
UpdateVirtualAxes ( Vector3 value ) : void

Method Details

CreateVirtualAxes() public method

public CreateVirtualAxes ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

OnPointerDown() public method

public OnPointerDown ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

OnPointerUp() public method

public OnPointerUp ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateVirtualAxes() public method

public UpdateVirtualAxes ( Vector3 value ) : void
value Vector3
return void

Property Details

horizontalAxisName public_oe property

public string horizontalAxisName
return string

joystickTexture public_oe property

public Texture,UnityEngine joystickTexture
return UnityEngine.Texture

ringTexture public_oe property

public Texture,UnityEngine ringTexture
return UnityEngine.Texture

verticalAxisName public_oe property

public string verticalAxisName
return string

xSensitivity public_oe property

public float xSensitivity
return float

ySensitivity public_oe property

public float ySensitivity
return float