|
static Rect | GetLowerLeftOfBounds (Rect visualElementBounds) |
| Create screen-relative, parent VisualElement-relative Rect for new BeamablePopupWindow More...
|
|
static Rect | GetLowerRightOfBounds (Rect visualElementBounds) |
|
static Rect | GetCenteredScreenRectFromWorldBounds (Rect visualElementBounds, Vector2 newWindowSize) |
| Create CENTERED screen-relative, parent VisualElement-relative Rect for new ConfirmationPopupVisualElement More...
|
|
static Rect | GetCenteredScreenRectForWindow (EditorWindow window, Vector2 size) |
| Create a Centered screen-relative rectangle, given a parent editor window More...
|
|
static async Promise< BeamablePopupWindow > | ShowDropdownAsync (string title, Rect sourceRect, Vector2 size, BeamableVisualElement content) |
| Create new popup with contents of any BeamableVisualElement This method introduces a delayFrame to let later versions of Unity avoid throwing a warning about an unchecked window. More...
|
|
static BeamablePopupWindow | ShowDropdown (string title, Rect sourceRect, Vector2 size, BeamableVisualElement content) |
| Create new popup with contents of any BeamableVisualElement More...
|
|
static BeamablePopupWindow | ShowUtility (string title, BeamableVisualElement content, EditorWindow parent, Vector2 defaultSize, Action< BeamablePopupWindow > onDomainReload=null) |
|
static BeamablePopupWindow | ShowConfirmationUtility (string title, ConfirmationPopupVisualElement element, EditorWindow parent, Action< BeamablePopupWindow > onDomainReload=null) |
|
static void | CloseConfirmationWindow () |
|
◆ GetCenteredScreenRectForWindow()
static Rect Beamable.Editor.UI.Components.BeamablePopupWindow.GetCenteredScreenRectForWindow |
( |
EditorWindow |
window, |
|
|
Vector2 |
size |
|
) |
| |
|
inlinestatic |
Create a Centered screen-relative rectangle, given a parent editor window
- Parameters
-
◆ GetCenteredScreenRectFromWorldBounds()
static Rect Beamable.Editor.UI.Components.BeamablePopupWindow.GetCenteredScreenRectFromWorldBounds |
( |
Rect |
visualElementBounds, |
|
|
Vector2 |
newWindowSize |
|
) |
| |
|
inlinestatic |
◆ GetLowerLeftOfBounds()
static Rect Beamable.Editor.UI.Components.BeamablePopupWindow.GetLowerLeftOfBounds |
( |
Rect |
visualElementBounds | ) |
|
|
inlinestatic |
Create screen-relative, parent VisualElement-relative Rect for new BeamablePopupWindow
- Parameters
-
◆ ShowDropdown()
Create new popup with contents of any BeamableVisualElement
- Parameters
-
title | |
sourceRect | |
size | |
content | |
- Returns
◆ ShowDropdownAsync()
Create new popup with contents of any BeamableVisualElement This method introduces a delayFrame to let later versions of Unity avoid throwing a warning about an unchecked window.
- Parameters
-
title | |
sourceRect | |
size | |
content | |
- Returns
The documentation for this class was generated from the following file:
- com.beamable/Editor/UI/Common/Components/BeamablePopupWindow/BeamablePopupWindow.cs