![]() |
FirstModulAR 0.1.0
|
A slot in a tabbed display. More...
Public Member Functions | |
| void | SetTabbedDisplay (TabbedDisplay tabbedDisplay) |
| Sets the tabbed display. | |
| override WidgetContainer | Init (Widget widget, Vector2 size, bool disableCollidersOverride=false, float scaleFactor=-1, bool disableInitEvent=false) |
| Initializes the tabbed display slot. | |
| void | ForceReplace (Widget widget) |
| Forces a replacement of the widget in the tabbed display slot. | |
| override void | DetachWidget () |
| Detaches the current widget from the tabbed display. | |
Public Member Functions inherited from FMAR.UI.Widgets.GridSlot | |
Public Member Functions inherited from FMAR.UI.Widgets.WidgetContainer | |
| void | UpdateSize (Vector2 size) |
| Sets the size of the widget container. | |
| void | ToggleLockedState () |
| Toggles the locked state of the widget container, which determines if the widget can be removed or added. | |
| bool | TryMove () |
| Tries to move the widget. | |
Additional Inherited Members | |
Public Attributes inherited from FMAR.UI.Widgets.GridSlot | |
| bool | acceptsMany |
Protected Member Functions inherited from FMAR.UI.Widgets.WidgetContainer | |
| virtual void | Awake () |
| void | CreateBorder () |
| virtual void | Update () |
Protected Attributes inherited from FMAR.UI.Widgets.WidgetContainer | |
| Widget | widget |
| Vector2 | size = Vector2.one |
| Material | borderMaterial |
| LineRenderer | border |
| bool | locked |
Properties inherited from FMAR.UI.Widgets.WidgetContainer | |
| Widget | Widget [get] |
| Vector2 | Size [get] |
| float | ScaleFactor [get] |
| LineRenderer | Border [get] |
| bool | HoverLeft [get] |
| bool | HoverRight [get] |
| bool | Hover [get] |
| bool | Locked [get] |
Events inherited from FMAR.UI.Widgets.GridSlot | |
| static Action< GridSlot > | OnGridSlotInit |
| Event triggered when the grid slot is initialized. | |
Events inherited from FMAR.UI.Widgets.WidgetContainer | |
| static Action< WidgetContainer > | OnInit |
A slot in a tabbed display.
|
inlinevirtual |
Detaches the current widget from the tabbed display.
Reimplemented from FMAR.UI.Widgets.GridSlot.
|
inline |
Forces a replacement of the widget in the tabbed display slot.
| widget | The widget to place into the tabbed display slot. |
|
inlinevirtual |
Initializes the tabbed display slot.
| widget | The widget to place into the tabbed display slot. |
| size | The size of the tabbed display slot. |
| disableCollidersOverride | Whether to disable the colliders. |
| scaleFactor | The scale factor to use. |
| disableInitEvent | Whether to disable the init event. |
Reimplemented from FMAR.UI.Widgets.GridSlot.
|
inline |
Sets the tabbed display.
| tabbedDisplay | The tabbed display to set. |