Component:LegacySwapCanvasPanel

From Resonite Wiki
This article describes a feature marked as legacy—this usually means there's a newer, better alternative. Legacy features might not be removed but they will not be updated, and the team will not provide any support for them.
Component image 
Legacy Swap Canvas Panel component as seen in the Scene Inspector

The LegacySwapCanvasPanel was used to swap between different panels using some buttons.

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.
_canvas Canvas The canvas that contains the entire swap visual.
_panel LegacyPanel The panel that contains the entire swap panel.
_currentPanel RectTransform The current panel visual this is switched to.
_container Slot The slot that contains the visuals for the swap panel.

See Also