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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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