UIField¶
UIField is the abstract base class of all UI classes.
Inherits: Instance
Properties¶
- PositionOffset:
Vector2 - PositionRelative:
Vector2 - Rotation:
number - SizeOffset:
Vector2 - SizeRelative:
Vector2 - ClipDescendants:
boolean - PivotPoint:
Vector2 - Scale:
Vector2 - Visible:
boolean - MaskMode:
MaskModeEnum - IgnoreMouse:
boolean - ZIndex:
number - AbsolutePosition:
Vector2 - AbsoluteSize:
Vector2 - IsVisibleInTree:
boolean
Events¶
- MouseEnter: Fires when user's cursor hovers on this UI
- MouseExit: Fires when user's cursor leaves this UI
- MouseDown: Fires when user hold down mouse on this UI
- MouseUp: Fires when user release mouse on this UI
- TransformChanged: Fires when this UI transform has been changed
- VisibilityChanged: Fires when this UI visibility has been changed