Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Manager that filtering input by axises to prevent smooth user-friendly experience.
Public Member Functions | |
float | GetInput (string axis) |
Getting filtered input by axis. Prevent to often call of the same input. More... | |
float | GetInput (string axis, float threshold) |
Getting filtered input by axis. Prevent to often call of the same input. More... | |
float | GetInput (string axis, out bool axisLocked) |
Getting filtered input by axis. Prevent to often call of the same input. More... | |
float | GetInput (string axis, float threshold, out bool axisLocked) |
Getting filtered input by axis. Prevent to often call of the same input. More... | |
float | PeekInput (string axis, out bool canBeUsed, out bool isPressed) |
Getting input without registering at the register. More... | |
void | ReleaseAxis (string axis) |
Releasing axis from pressed status. More... | |
Properties | |
static InputManager | Active [get] |
Reference to the current singleton instance of the manager. More... | |
static float | AxisBlockTime [get, set] |
Hom many seconds axis is blocked to input since it was pressed. More... | |
float Doloro.UIEngine2.InputManager.GetInput | ( | string | axis | ) |
Getting filtered input by axis. Prevent to often call of the same input.
axis | Target axis. |
float Doloro.UIEngine2.InputManager.GetInput | ( | string | axis, |
float | threshold | ||
) |
Getting filtered input by axis. Prevent to often call of the same input.
axis | Target axis. |
threshold | Threshold that |
float Doloro.UIEngine2.InputManager.GetInput | ( | string | axis, |
float | threshold, | ||
out bool | axisLocked | ||
) |
Getting filtered input by axis. Prevent to often call of the same input.
axis | Target axis. |
threshold | Threshold that |
axisLocked | Is axis are locked? |
float Doloro.UIEngine2.InputManager.GetInput | ( | string | axis, |
out bool | axisLocked | ||
) |
Getting filtered input by axis. Prevent to often call of the same input.
axis | Target axis. |
axisLocked | Is axis are locked? |
float Doloro.UIEngine2.InputManager.PeekInput | ( | string | axis, |
out bool | canBeUsed, | ||
out bool | isPressed | ||
) |
Getting input without registering at the register.
axis | Target input. |
canBeUsed | Is axis can be called without throwing out? |
isPressed | Is axis already pressed during agent session. |
void Doloro.UIEngine2.InputManager.ReleaseAxis | ( | string | axis | ) |
Releasing axis from pressed status.
axis | Target axis. |
|
staticget |
Reference to the current singleton instance of the manager.
Always non null. Can be called during MonoBehavior constructor.
|
staticgetset |
Hom many seconds axis is blocked to input since it was pressed.
0.3 seconds by default.