C# 클래스 UnityEngine.EventSystems.BaseInput

Interface to the Input system used by the BaseInputModule. With this it is possible to bypass the Input system with your own but still use the same InputModule. For example this can be used to feed fake input into the UI or interface with a different input system.

상속: UIBehaviour
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
GetAxisRaw ( string axisName ) : float

Interface to Input.GetAxisRaw. Can be overridden to provide custom input instead of using the Input class.

GetButtonDown ( string buttonName ) : bool

Interface to Input.GetButtonDown. Can be overridden to provide custom input instead of using the Input class.

GetMouseButton ( int button ) : bool

Interface to Input.GetMouseButton. Can be overridden to provide custom input instead of using the Input class.

GetMouseButtonDown ( int button ) : bool

Interface to Input.GetMouseButtonDown. Can be overridden to provide custom input instead of using the Input class.

GetMouseButtonUp ( int button ) : bool

Interface to Input.GetMouseButtonUp. Can be overridden to provide custom input instead of using the Input class.

GetTouch ( int index ) : Touch

Interface to Input.GetTouch. Can be overridden to provide custom input instead of using the Input class.

메소드 상세

GetAxisRaw() 공개 메소드

Interface to Input.GetAxisRaw. Can be overridden to provide custom input instead of using the Input class.

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

GetButtonDown() 공개 메소드

Interface to Input.GetButtonDown. Can be overridden to provide custom input instead of using the Input class.

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

GetMouseButton() 공개 메소드

Interface to Input.GetMouseButton. Can be overridden to provide custom input instead of using the Input class.

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

GetMouseButtonDown() 공개 메소드

Interface to Input.GetMouseButtonDown. Can be overridden to provide custom input instead of using the Input class.

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

GetMouseButtonUp() 공개 메소드

Interface to Input.GetMouseButtonUp. Can be overridden to provide custom input instead of using the Input class.

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

GetTouch() 공개 메소드

Interface to Input.GetTouch. Can be overridden to provide custom input instead of using the Input class.

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