Component:ContextMenuSubmenu

From Resonite Wiki
Revision as of 23:40, 20 November 2023 by Zandario (talk | contribs) (Removed old Vids & Issues)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Context Menu Submenu component as seen in the Scene Inspector


The ContextMenuSubmenu component can be used in combination with any button component to make said button open a custom context menu when clicked. This is commonly done on avatars, using a RootContextMenuItem as the button, but can also be used on anything else.

Fields

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.
ItemsRoot Slot All ContextMenuItemSources on slots under this one will be included in the submenu.
SearchWholeHierarchy Bool This article or section is a Stub. You can help the Resonite Wiki by expanding it.
DisableFlick Bool This article or section is a Stub. You can help the Resonite Wiki by expanding it.
SpeedOverride Float?
CounterClockwise Bool Whether the items should be arranged clockwise or counter-clockwise in the submenu.
KeepPosition Bool When set, the context menu will stay in the same place as the submenu opens. Otherwise, the context menu will recenter on the user's laser.
Hidden Bool If set, the submenu is only visible to the user that opened it, (The button to open it)

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Related Issues

This article or section is a Stub. You can help the Resonite Wiki by expanding it.