Component:SlideSwapRegion: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page SlideSwapRegion (Component) to Component:SlideSwapRegion: Creating component Namespace
Added a description. Added field descriptions.
 
(One intermediate revision by one other user not shown)
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|RectTransform|  
|_current|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv0=true|Internal - The [[Component:RectTransform|RectTransform]] to swap.
}}
}}


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


<!--T:5-->
<!--T:5-->
Line 26: Line 24:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:Components{{#translation:}}|SlideSwapRegion (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Slide Swap Region]]
[[Category:ComponentStubs]]
[[Category:Components:UIX:Utility{{#translation:}}|Slide Swap Region]]
[[Category:Components:UIX:Utility{{#translation:}}|SlideSwapRegion (Component){{#translation:}}]]

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