Component:ModalOverlayManager: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page ModalOverlayManager (Component) to Component:ModalOverlayManager: Creating component Namespace
Added a description and field descriptions.
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=ModalOverlayManagerComponent.png
|Image=ModalOverlayManagerComponent.png
Line 9: Line 8:


<!--T:2-->
<!--T:2-->
== Intoduction ==
The '''ModalOverlayManager''' component allows for the creation of [[Component:ModalOverlay|ModalOverlay]] [[Slot|slots]]. Using the <code>Template</code> field to create Modal Overlays duplicates.


<!--T:3-->
<!--T:3-->
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Template|ModalOverlay|  
|Template|'''[[Component:ModalOverlay|ModalOverlay]]'''|TypeAdv0=true|The template ModalOverlay slot.
|Constructor|ModalOverlayConstructor|  
|Constructor|{{RootFieldType|SyncDelegate`1|[[Type:ModalOverlayConstructor|ModalOverlayConstructor]]}}|TypeAdv1=true|The constructor to make the ModalOverlay.
|ModalOverlayRequested|Action`1|TypeString2=Action<ModalOverlayManager>|  
|ModalOverlayRequested|{{RootFieldType|SyncDelegate`1|[[Type:Action`1|Action`1]]&lt;[[Component:ModalOverlayManager|ModalOverlayManager]]&gt;}}|TypeAdv2=true|The action of the ModalOverlayManager.
|ModalOverlayGenerated|Action`2|TypeString3=Action<ModalOverlayManager,ModalOverlay>|  
|ModalOverlayGenerated|{{RootFieldType|SyncDelegate`1|[[Type:Action`2|Action`2]]&lt;[[Component:ModalOverlayManager|ModalOverlayManager]], [[Component:ModalOverlay|ModalOverlay]]&gt;}}|TypeAdv3=true|The action of the ModalOverlayManager.
|SpawnRoot|Slot|  
|SpawnRoot|Slot|The slot hierarchy to spawn this modal overlay on.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==


<!--T:5-->
<!--T:5-->
Line 30: Line 28:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:Components{{#translation:}}|ModalOverlayManager (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Modal Overlay Manager]]
[[Category:ComponentStubs]]
[[Category:Components:UIX:Interaction{{#translation:}}|Modal Overlay Manager]]
[[Category:Components:UIX:Interaction{{#translation:}}|ModalOverlayManager (Component){{#translation:}}]]

Latest revision as of 10:27, 27 July 2024

Component image 
ModalOverlayManager component as seen in the Scene Inspector


The ModalOverlayManager component allows for the creation of ModalOverlay slots. Using the Template field to create Modal Overlays duplicates.

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Template ModalOverlay The template ModalOverlay slot.
Constructor ModalOverlayConstructor The constructor to make the ModalOverlay.
ModalOverlayRequested Action`1<ModalOverlayManager> The action of the ModalOverlayManager.
ModalOverlayGenerated Action`2<ModalOverlayManager, ModalOverlay> The action of the ModalOverlayManager.
SpawnRoot Slot The slot hierarchy to spawn this modal overlay on.

Usage

Examples

Related Components