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

RB.PLAYER_ANY

Variable  -  Const

Type

const int

Description

Indicates any player.

Used with RB.ButtonDown, RB.ButtonPressed and RB.ButtonReleased

Equivalent to RB.PLAYER_ONE | RB.PLAYER_TWO | RB.PLAYER_THREE | RB.PLAYER_FOUR

Example

void Update()
{
    if (RB.ButtonPressed(RB.BTN_MENURB.PLAYER_ANY)) {
        MenuOpen();
    }
}

See Also

RB.ButtonDown
RB.ButtonPressed
RB.ButtonReleased

See Docs

Features - Gamepads