UI Widget

UIWidget

HUD
Component
Combine:
entity

Properties

Name Type Description Script Name
Active Bool Display when the open status is true, otherwise closed Active
Anchor Position Vector3 The anchor coordinates in relation to the parent AnchorPosition
Width Int The width Width
Height Int The height Height
Angle Float The z axis rotation angle Angle
String Read Only
HostHudID_Deprecated
FileID Int Read Only
The internal ID of the control in the prefab
FileID
Parent UI Custom UI Read Only
The HUD entity it belongs to
ParentUI
Anchor Min Vector2 \ AnchorMin
Anchor Max Vector2 \ AnchorMax
Size Delta Vector2 \ SizeDelta
Pivot Vector2 \ Pivot
Depth Int Read Only
The depth
Depth
Int Read Only
The file ID of the parent component
ParentWidgetFileID_Deprecated
Child Index Int Read Only
ChildIndex
Parent Widget Entity ID String Read Only
ParentWidgetEntityID
String Read Only
Unique ID
UniqueID
Priority Int \ Priority
Actual Position Vector3 \ ActualPosition

API

Name Description
Set Widget Parent Set the parent node of the UI widget
Create Custom UI Widget Creating Custom UI Widget