Hmmm, maybe this is not really a context menu thing, and more of a dash thing. :3
(3 intermediate revisions by 2 users not shown)
Line 8:
Line 8:
<!--T:2-->
<!--T:2-->
The '''RadiantModalOverlay''' component is similar to the [[Component:ModalOverlay|ModalOverlay]], but with the [[Context menu|radial menu]]. This also can be duplicated as a template in the [[Component:ModalOverlayManager|ModalOverlayManager]] component.
The '''RadiantModalOverlay''' component is similar to the [[Component:ModalOverlay|ModalOverlay]], but with the [[Dash menu|dash menu]]. This also can be duplicated as a template in the [[Component:ModalOverlayManager|ModalOverlayManager]] component.
<!--T:3-->
<!--T:3-->
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|ShowLerp|Float|The lerp amount for this modal.
|ShowLerp|Float|The lerp amount for this modal.
Line 37:
Line 38:
|_closeOffsetMin|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv23=true|The close offset min of this RadiantModalOverlay.
|_closeOffsetMin|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv23=true|The close offset min of this RadiantModalOverlay.
|_closeOffsetMax|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv24=true|The close offset max of this RadiantModalOverlay.
|_closeOffsetMax|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv24=true|The close offset max of this RadiantModalOverlay.
}}
== Sync Delegates ==
{{Table ComponentTriggers
|DoClose:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when this UI is closed.
RadiantModalOverlay component as seen in the Scene Inspector
The RadiantModalOverlay component is similar to the ModalOverlay, but with the dash menu. This also can be duplicated as a template in the ModalOverlayManager component.