C# Class Uniject.Unity.UnityInput

Inheritance: IInput
ファイルを表示 Open project: yeticgi/Uniject

Public Methods

Method Description
GetAccelerationEvent ( int index ) : IAccelerationEvent
GetAxis ( string name ) : float
GetAxisRaw ( string name ) : float
GetButton ( string name ) : bool
GetButtonDown ( string name ) : bool
GetButtonUp ( string name ) : bool
GetJoystickNames ( ) : string[]
GetKey ( string name ) : bool
GetKeyDown ( string name ) : bool
GetKeyUp ( string name ) : bool
GetMouseButton ( int button ) : bool
GetMouseButtonDown ( int button ) : bool
GetMouseButtonUp ( int button ) : bool
GetTouch ( int index ) : ITouch
ResetInputAxes ( ) : void

Method Details

GetAccelerationEvent() public method

public GetAccelerationEvent ( int index ) : IAccelerationEvent
index int
return IAccelerationEvent

GetAxis() public method

public GetAxis ( string name ) : float
name string
return float

GetAxisRaw() public method

public GetAxisRaw ( string name ) : float
name string
return float

GetButton() public method

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

GetButtonDown() public method

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

GetButtonUp() public method

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

GetJoystickNames() public method

public GetJoystickNames ( ) : string[]
return string[]

GetKey() public method

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

GetKeyDown() public method

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

GetKeyUp() public method

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

GetMouseButton() public method

public GetMouseButton ( int button ) : bool
button int
return bool

GetMouseButtonDown() public method

public GetMouseButtonDown ( int button ) : bool
button int
return bool

GetMouseButtonUp() public method

public GetMouseButtonUp ( int button ) : bool
button int
return bool

GetTouch() public method

public GetTouch ( int index ) : ITouch
index int
return ITouch

ResetInputAxes() public method

public ResetInputAxes ( ) : void
return void