C# Class 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.

Inheritance: UIBehaviour
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

GetAxisRaw() public méthode

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

public GetAxisRaw ( string axisName ) : float
axisName string
Résultat float

GetButtonDown() public méthode

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

public GetButtonDown ( string buttonName ) : bool
buttonName string
Résultat bool

GetMouseButton() public méthode

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

public GetMouseButton ( int button ) : bool
button int
Résultat bool

GetMouseButtonDown() public méthode

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

public GetMouseButtonDown ( int button ) : bool
button int
Résultat bool

GetMouseButtonUp() public méthode

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

public GetMouseButtonUp ( int button ) : bool
button int
Résultat bool

GetTouch() public méthode

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

public GetTouch ( int index ) : Touch
index int
Résultat UnityEngine.Touch