UI Widget Button

UIWidgetButton

HUD
Componente
Combinar:
UI Widget

UI button entity, UI edited by the player through the UI editor

Propiedades

Nombre Tipo Descripción Nombre del script
Sprite Resource Sprite ID Sprite Shape SpriteResource
Color Color Color Color
Alpha Float Alpha Alpha
Disable Color Color Disable Color DisableColor
Pressed Color Color Pressed Color PressedColor
Fill Type Fill Type Fill Type FillType
Is FE Button Bool Solo lectura
Is FE Button
IsFEButton
Pressed Sprite Sprite ID Pressed Sprite PressedSprite
Pressed Sprite Type Fill Type Pressed Sprite Type PressedSpriteType
Flip Type Int Flip Type FlipType
Center Invisible Bool Center Invisible CenterInvisible
Fill Direction Fill Direction Type Fill Direction FillDirection
Fill Value Float Fill Value FillAmount
Invert Fill Bool Invert Fill InvertFill
Gradient Int Gradient Gradient
Gradient Top Color Gradient Top GradientTop
Gradient Bottom Color Gradient Bottom GradientBottom
Top Alpha Float Top Alpha TopAlpha
Bottom Alpha Float Bottom Alpha BottomAlpha
Disable Collider Bool Disable collision box DisableCollider

Event

Nombre Descripción
On Tapped Triggered after clicking the UI button control
On Pressed Triggered after the UI button control is pressed by the player
On Released Triggered after the UI button control is lifted
On Double-Tapped Triggered after the UI button control is double-clicked by the player