Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Component:SlideSwapRegion: Difference between revisions

From Resonite Wiki
AmasterAmaster (talk | contribs)
Added a description. Added field descriptions.
989onan (talk | contribs)
fix formatting
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


<!--T:2-->
<!--T:2-->
The '''SlideSwapRegion''' component takes in a [[Component:RectTransform|RectTransform]] of a [[UIX]] element and uses it for a slide swap.
The '''SlideSwapRegion''' component takes in a [[Component:RectTransform|RectTransform]] of a [[UIX]] element and uses it for a slide swap. This is an internal component used by the game engine to manage things like the inventory and tutorial pages to name a couple. This isn't usable by the player in any meaningful way because of this.


== Fields ==
<!--T:3-->
<!--T:3-->
{{Table ComponentFields
{{Table ComponentFields
|_current|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv0=true|Internal - The [[Component:RectTransform|RectTransform]] to swap.
|_current|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv0=true|Internal - The [[Component:RectTransform|RectTransform]] to swap. This component acting as a controller for what this points to.
}}
}}


<!--T:4-->
<!--T:4-->
== Usage ==
== Usage ==
Not used by the player. used by internal game elements.


<!--T:5-->
<!--T:5-->
Line 22: Line 24:


<!--T:6-->
<!--T:6-->
== Related Components ==
== See Also ==
* [[Component:InventoryBrowser]]
* [[Component:TutorialScreen]]
</translate>
</translate>
[[Category:Components{{#translation:}}|Slide Swap Region]]
[[Category:Components{{#translation:}}|Slide Swap Region]]
[[Category:Components:UIX:Utility{{#translation:}}|Slide Swap Region]]
[[Category:Components:UIX:Utility{{#translation:}}|Slide Swap Region]]

Latest revision as of 19:46, 4 February 2026

Component image 
SlideSwapRegion component as seen in the Scene Inspector

The SlideSwapRegion component takes in a RectTransform of a UIX element and uses it for a slide swap. This is an internal component used by the game engine to manage things like the inventory and tutorial pages to name a couple. This isn't usable by the player in any meaningful way because of this.

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. Some components stop their functionality when this field is disabled, but some don't.
_current RectTransform Internal - The RectTransform to swap. This component acting as a controller for what this points to.

Usage

Not used by the player. used by internal game elements.

Examples

See Also