The WidgetManager is responsible for spawning and managing the "grid" of widgets, which is not currently in use in favor of the tabbed display system.
More...
The WidgetManager is responsible for spawning and managing the "grid" of widgets, which is not currently in use in favor of the tabbed display system.
◆ CreateCubeWidget()
| static void FMAR.UI.Widgets.WidgetManager.CreateCubeWidget |
( |
Widget | widget | ) |
|
|
inlinestatic |
Creates a cube widget, which is a widget that is spawned in a grid slot.
- Parameters
-
| widget | The widget to create. |
◆ CreateFloatingDisplay()
| static void FMAR.UI.Widgets.WidgetManager.CreateFloatingDisplay |
( |
Widget | widget, |
|
|
Vector3 | position, |
|
|
Quaternion | rotation ) |
|
inlinestatic |
Creates a floating display for a widget, allowing it to be moved outside of the grid.
- Parameters
-
| widget | The widget to create a floating display for. |
| position | The position to spawn the floating display at. |
| rotation | The rotation to spawn the floating display with. |
◆ GetSlotByInstanceID()
| GridSlot FMAR.UI.Widgets.WidgetManager.GetSlotByInstanceID |
( |
int | instanceID | ) |
|
|
inline |
Gets a grid slot by its instance ID.
- Parameters
-
| instanceID | The instance ID of the grid slot. |
- Returns
- The grid slot with the matching instance ID.
◆ RecallAllFloatingDisplays()
| static void FMAR.UI.Widgets.WidgetManager.RecallAllFloatingDisplays |
( |
| ) |
|
|
inlinestatic |
Recalls all floating displays, returning them to their preferred grid slots.
◆ RemoveFloatingDisplay()
| static void FMAR.UI.Widgets.WidgetManager.RemoveFloatingDisplay |
( |
FloatingDisplay | fd | ) |
|
|
inlinestatic |
Destroys the floating display and removes it from the list of floating displays.
- Parameters
-
| fd | The floating display to remove. |
◆ SaveWidgetLayout()
| static void FMAR.UI.Widgets.WidgetManager.SaveWidgetLayout |
( |
| ) |
|
|
inlinestatic |
Saves the widget layout to the user's config file.
◆ widgetPrefabs
The prefabs for widgets to spawn.
◆ widgetsInContainers
◆ FloatingDisplays
◆ Instance
◆ LockedResistSfx
| AudioClip FMAR.UI.Widgets.WidgetManager.LockedResistSfx |
|
staticget |
◆ LockUnlockSfx
| AudioClip FMAR.UI.Widgets.WidgetManager.LockUnlockSfx |
|
staticget |
◆ UnlitTransparentMaterial
| Material FMAR.UI.Widgets.WidgetManager.UnlitTransparentMaterial |
|
get |
The documentation for this class was generated from the following file: