UI Widget Toggle

UIWidgetToggle

HUD
Component
Combine:
UI Widget

The HudToggle entity that players can edit in the HUD editor

Properties

Name Type Description Script Name
Alpha Float Transparency Alpha
Unselected Sprite Sprite ID The unselected sprite UnselectedSprite
Unselected Type Fill Type Unselected sprite type UnselectedType
Unselected Color Color The unselected sprite color UnselectedColor
Selected Sprite Sprite ID The selected sprite SelectedSprite
Selected Type Fill Type The selected sprite type SelectedType
Selected Color Color The selected sprite color SelectedColor
Disable Collider Bool \ DisableCollider

Event

Name Description
On Toggle Triggered when the Toggle control state changes