Метод | Описание | |
---|---|---|
ButtonChangedThisFrame ( Buttons button ) : bool |
Checks if a button state changed within the current frame loop (as signaled by calling startOfFrame).
|
|
ButtonPressedThisFrame ( Buttons button ) : bool |
Checks if a button has been pressed within the current frame loop (as signaled by calling startOfFrame).
|
|
ButtonReleasedThisFrame ( Buttons button ) : bool |
Checks if a button has been released within the current frame loop (as signaled by calling startOfFrame).
|
|
GetAxisValue ( AxisType axis ) : float |
Gets the current axis value.
|
|
GetButton ( Buttons button ) : bool |
Gets the current pressed state of the button.
|
|
GetButtonData ( Buttons button ) : ButtonData |
Queries the OUYA framework to get the appropriate image/name for a specific button. The returned drawable will be 160px high.
|
public ButtonChangedThisFrame ( Buttons button ) : bool | ||
button | Buttons | The button to check. |
Результат | bool |
public ButtonPressedThisFrame ( Buttons button ) : bool | ||
button | Buttons | The button to check. |
Результат | bool |
public ButtonReleasedThisFrame ( Buttons button ) : bool | ||
button | Buttons | The button to check. |
Результат | bool |
public GetAxisValue ( AxisType axis ) : float | ||
axis | AxisType | The axis to check. |
Результат | float |
public GetButton ( Buttons button ) : bool | ||
button | Buttons | The button to check. |
Результат | bool |
public static GetButtonData ( Buttons button ) : ButtonData | ||
button | Buttons | The button to get data for. |
Результат | ButtonData |