Component:SlideSwapRegion: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
Added a description. Added field descriptions.
 
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=SlideSwapRegionComponent.png
|Image=SlideSwapRegionComponent.png
Line 9: Line 8:


<!--T:2-->
<!--T:2-->
== Intoduction ==
The '''SlideSwapRegion''' component takes in a [[Component:RectTransform|RectTransform]] of a [[UIX]] element and uses it for a slide swap.


<!--T:3-->
<!--T:3-->
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|_current|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv0=true|
|_current|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv0=true|Internal - The [[Component:RectTransform|RectTransform]] to swap.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==


<!--T:5-->
<!--T:5-->
Line 27: Line 25:
</translate>
</translate>
[[Category:Components{{#translation:}}|Slide Swap Region]]
[[Category:Components{{#translation:}}|Slide Swap Region]]
[[Category:ComponentStubs]]
[[Category:Components:UIX:Utility{{#translation:}}|Slide Swap Region]]
[[Category:Components:UIX:Utility{{#translation:}}|Slide Swap Region]]

Latest revision as of 01:57, 29 July 2024

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.

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.
_current RectTransform Internal - The RectTransform to swap.

Usage

Examples

Related Components