C# Class UnityStandardAssets.CrossPlatformInput.VirtualInput

Mostrar archivo Open project: bttfgames/shaman-says Class Usage Examples

Protected Properties

Property Type Description
m_AlwaysUseVirtual List
m_VirtualAxes CrossPlatformInputManager.VirtualAxis>.Dictionary
m_VirtualButtons CrossPlatformInputManager.VirtualButton>.Dictionary

Public Methods

Method Description
AxisExists ( string name ) : bool
ButtonExists ( string name ) : bool
GetAxis ( string name, bool raw ) : float
GetButton ( string name ) : bool
GetButtonDown ( string name ) : bool
GetButtonUp ( string name ) : bool
MousePosition ( ) : Vector3
RegisterVirtualAxis ( UnityStandardAssets.CrossPlatformInput.CrossPlatformInputManager axis ) : void
RegisterVirtualButton ( UnityStandardAssets.CrossPlatformInput.CrossPlatformInputManager button ) : void
SetAxis ( string name, float value ) : void
SetAxisNegative ( string name ) : void
SetAxisPositive ( string name ) : void
SetAxisZero ( string name ) : void
SetButtonDown ( string name ) : void
SetButtonUp ( string name ) : void
SetVirtualMousePositionX ( float f ) : void
SetVirtualMousePositionY ( float f ) : void
SetVirtualMousePositionZ ( float f ) : void
UnRegisterVirtualAxis ( string name ) : void
UnRegisterVirtualButton ( string name ) : void
VirtualAxisReference ( string name ) : UnityStandardAssets.CrossPlatformInput.CrossPlatformInputManager.VirtualAxis

Method Details

AxisExists() public method

public AxisExists ( string name ) : bool
name string
return bool

ButtonExists() public method

public ButtonExists ( string name ) : bool
name string
return bool

GetAxis() public abstract method

public abstract GetAxis ( string name, bool raw ) : float
name string
raw bool
return float

GetButton() public abstract method

public abstract GetButton ( string name ) : bool
name string
return bool

GetButtonDown() public abstract method

public abstract GetButtonDown ( string name ) : bool
name string
return bool

GetButtonUp() public abstract method

public abstract GetButtonUp ( string name ) : bool
name string
return bool

MousePosition() public abstract method

public abstract MousePosition ( ) : Vector3
return Vector3

RegisterVirtualAxis() public method

public RegisterVirtualAxis ( UnityStandardAssets.CrossPlatformInput.CrossPlatformInputManager axis ) : void
axis UnityStandardAssets.CrossPlatformInput.CrossPlatformInputManager
return void

RegisterVirtualButton() public method

public RegisterVirtualButton ( UnityStandardAssets.CrossPlatformInput.CrossPlatformInputManager button ) : void
button UnityStandardAssets.CrossPlatformInput.CrossPlatformInputManager
return void

SetAxis() public abstract method

public abstract SetAxis ( string name, float value ) : void
name string
value float
return void

SetAxisNegative() public abstract method

public abstract SetAxisNegative ( string name ) : void
name string
return void

SetAxisPositive() public abstract method

public abstract SetAxisPositive ( string name ) : void
name string
return void

SetAxisZero() public abstract method

public abstract SetAxisZero ( string name ) : void
name string
return void

SetButtonDown() public abstract method

public abstract SetButtonDown ( string name ) : void
name string
return void

SetButtonUp() public abstract method

public abstract SetButtonUp ( string name ) : void
name string
return void

SetVirtualMousePositionX() public method

public SetVirtualMousePositionX ( float f ) : void
f float
return void

SetVirtualMousePositionY() public method

public SetVirtualMousePositionY ( float f ) : void
f float
return void

SetVirtualMousePositionZ() public method

public SetVirtualMousePositionZ ( float f ) : void
f float
return void

UnRegisterVirtualAxis() public method

public UnRegisterVirtualAxis ( string name ) : void
name string
return void

UnRegisterVirtualButton() public method

public UnRegisterVirtualButton ( string name ) : void
name string
return void

VirtualAxisReference() public method

public VirtualAxisReference ( string name ) : UnityStandardAssets.CrossPlatformInput.CrossPlatformInputManager.VirtualAxis
name string
return UnityStandardAssets.CrossPlatformInput.CrossPlatformInputManager.VirtualAxis

Property Details

m_AlwaysUseVirtual protected_oe property

protected List m_AlwaysUseVirtual
return List

m_VirtualAxes protected_oe property

protected Dictionary m_VirtualAxes
return CrossPlatformInputManager.VirtualAxis>.Dictionary

m_VirtualButtons protected_oe property

protected Dictionary m_VirtualButtons
return CrossPlatformInputManager.VirtualButton>.Dictionary