Component:BreadcrumbManager

From Resonite Wiki
Revision as of 20:53, 3 February 2025 by 989onan (talk | contribs) (add info)
Component image 
Breadcrumb Manager component as seen in the Scene Inspector

The BreadcrumbManager component is used to instantiate BreadcrumbInterfaces and remove them based on the list of path elements on a Data Feed View Type.

Usage

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. Some components stop their functionality when this field is disabled, but some don't.
Path direct RelayRef`1<SyncFieldList`1<String>> The path field in a Data Feed View Type component to show in the form of templates.
UI_Root Slot The place to put Breadcrumb path items in.
BreadcrumbTemplate BreadcrumbInterface The template to duplicate in order to create UI.
SeparatorTemplate Slot The slot to duplicate and place between elements to make them have slashes or commas between them.

Sync Delegates

Triggers
Method Name Method type and Arguments. Description
SetDepth() ButtonEventHandler`1<IButton: button, ButtonEventData: eventData, Int: depth> Takes a number beside a button that when pressed will set the depth of the path.
SetDepth() Action`1<Int: depth> A method that sets the path via a number directly without needing a button.

Usage

Attach to a slot and provide all fields with valid values. The manager will then allow for creating path elements automatically when navigating a data feed.

Examples

Used heavily in the Settings menu to show the current path at the top.

See Also