AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

RB.AnyKeyReleased

Method  -  Static

public static bool AnyKeyReleased()

Parameters

No parameters.

Returns

bool

True if key released

Description

Return 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

Example

void Update() {
    if (RB.KeyReleased(UnityEngine.KeyCode.Z)) {
        SelfDestruct();
    }
}

See Also

RB.AnyKeyPressed
RB.AnyKeyDown

See Docs

Features - Keyboard