|
| override void | SetWidgetContainer (WidgetContainer widgetContainer) |
| | Called when the widget is moved into a new container. Handles widget resizing and repositioning. Can be overridden to provide additional functionality.
|
| |
| void | SetBorderPositions (Vector2 size) |
| | Sets the border positions.
|
| |
| void | UpdateBorderTransparency () |
| | Updates the border transparency based on the widget container's border transparency.
|
| |
| void | DetachFromContainer () |
| | Detaches the widget from the widget container.
|
| |
| void | PlaySound (AudioClip clip) |
| | Plays a sound localized to the widget.
|
| |
| bool | TryMove () |
| | Tries to move the widget out of the widget container.
|
| |
| void | SetBackgroundEnabled (bool enabled) |
| | Sets the background's enabled state.
|
| |
|
| override void | Awake () |
| |
| override void | Start () |
| |
| virtual void | Update () |
| |
| void | CreateBorder (Vector2 size) |
| | Creates a border for the widget, around the edges.
|
| |
◆ Awake()
| override void FMAR.UI.Widgets.Procedures.Procedures.Awake |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ SetWidgetContainer()
| override void FMAR.UI.Widgets.Procedures.Procedures.SetWidgetContainer |
( |
WidgetContainer | widgetContainer | ) |
|
|
inlinevirtual |
Called when the widget is moved into a new container. Handles widget resizing and repositioning. Can be overridden to provide additional functionality.
- Parameters
-
Reimplemented from FMAR.UI.Widgets.Widget.
◆ Start()
| override void FMAR.UI.Widgets.Procedures.Procedures.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file:
- /github/workspace/Packages/FMAR/UI/WidgetProcedures/Runtime/Scripts/Procedures.cs