UI Widget Button

UIWidgetButton

HUD
Component
Combine:
UI Widget

Properties

Name Type Description Script Name
Sprite Resource Sprite ID \ SpriteResource
Color Color Color Color
Alpha Float Transparency Alpha
Disable Color Color \ DisableColor
Pressed Color Color \ PressedColor
Fill Type Fill Type \ FillType
Is FE Button Bool Read Only
IsFEButton
Pressed Sprite Sprite ID The pressed sprite PressedSprite
Pressed Sprite Type Fill Type The pressed sprite type PressedSpriteType
Flip Type Int \ FlipType
Center Invisible Bool \ CenterInvisible
Fill Direction Fill Direction Type \ FillDirection
Fill Value Float \ FillAmount
Invert Fill Bool \ InvertFill
Gradient Int \ Gradient
Gradient Top Color \ GradientTop
Gradient Bottom Color \ GradientBottom
Top Alpha Float \ TopAlpha
Bottom Alpha Float \ BottomAlpha
Disable Collider Bool \ DisableCollider

Event

Name Description
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