RB.KeyReleased
Method - Static
public static bool KeyReleased(KeyCode keyCode)
|
Parameters
Returns
bool
True if key released
DescriptionReturn true if given key specified by keyCode went from a down to up state since last call to IRetroBlitGame.Update. Examplevoid Update() { if (RB.KeyReleased(UnityEngine.KeyCode.Z)) { SelfDestruct(); } } |
See AlsoRB.KeyPressed RB.KeyDown RB.InputStringSee DocsFeatures - Keyboard |