C# 클래스 HFTInput

상속: MonoBehaviour
파일 보기 프로젝트 열기: greggman/hft-unity-gamepad 1 사용 예제들

공개 메소드들

메소드 설명
Awake ( ) : void
GetAccelerationEvent ( int index ) : AccelerationEvent
GetAxis ( string axisName ) : float
GetAxisRaw ( string axisName ) : float
GetButton ( string buttonName ) : bool
GetButtonDown ( string buttonName ) : bool
GetButtonUp ( string buttonName ) : 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 ) : Touch
HFTInput ( ) : System
IsJoystickPreconfigured ( string joystickName ) : bool
ResetInputAxes ( ) : void
SpecifyAxisNameToAxisIndex ( string axisName, int axisIndex ) : void
SpecifyButtonNameToButtonIndex ( string buttonName, int buttonIndex ) : void
Update ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

GetAccelerationEvent() 공개 메소드

public GetAccelerationEvent ( int index ) : AccelerationEvent
index int
리턴 UnityEngine.AccelerationEvent

GetAxis() 공개 메소드

public GetAxis ( string axisName ) : float
axisName string
리턴 float

GetAxisRaw() 공개 메소드

public GetAxisRaw ( string axisName ) : float
axisName string
리턴 float

GetButton() 공개 메소드

public GetButton ( string buttonName ) : bool
buttonName string
리턴 bool

GetButtonDown() 공개 메소드

public GetButtonDown ( string buttonName ) : bool
buttonName string
리턴 bool

GetButtonUp() 공개 메소드

public GetButtonUp ( string buttonName ) : bool
buttonName string
리턴 bool

GetJoystickNames() 공개 메소드

public GetJoystickNames ( ) : string[]
리턴 string[]

GetKey() 공개 메소드

public GetKey ( string name ) : bool
name string
리턴 bool

GetKeyDown() 공개 메소드

public GetKeyDown ( string name ) : bool
name string
리턴 bool

GetKeyUp() 공개 메소드

public GetKeyUp ( string name ) : bool
name string
리턴 bool

GetMouseButton() 공개 메소드

public GetMouseButton ( int button ) : bool
button int
리턴 bool

GetMouseButtonDown() 공개 메소드

public GetMouseButtonDown ( int button ) : bool
button int
리턴 bool

GetMouseButtonUp() 공개 메소드

public GetMouseButtonUp ( int button ) : bool
button int
리턴 bool

GetTouch() 공개 메소드

public GetTouch ( int index ) : Touch
index int
리턴 Touch

HFTInput() 공개 메소드

public HFTInput ( ) : System
리턴 System

IsJoystickPreconfigured() 공개 메소드

public IsJoystickPreconfigured ( string joystickName ) : bool
joystickName string
리턴 bool

ResetInputAxes() 공개 메소드

public ResetInputAxes ( ) : void
리턴 void

SpecifyAxisNameToAxisIndex() 공개 메소드

public SpecifyAxisNameToAxisIndex ( string axisName, int axisIndex ) : void
axisName string
axisIndex int
리턴 void

SpecifyButtonNameToButtonIndex() 공개 메소드

public SpecifyButtonNameToButtonIndex ( string buttonName, int buttonIndex ) : void
buttonName string
buttonIndex int
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void