RB.AnyKeyReleased
Method - Static
public static bool AnyKeyReleased()
|
Parameters
No parameters.
Returns
bool
True if key released
DescriptionReturn true if all keys, touches, gamepad or mouse buttons are up and there are was at least one key, touch, gamepad or mouse button down in the last call to IRetroBlitGame.Update Examplevoid Update() { if (RB.KeyReleased(UnityEngine.KeyCode.Z)) { SelfDestruct(); } } |
See AlsoRB.AnyKeyPressed RB.AnyKeyDownSee DocsFeatures - Keyboard |