Component:RectSizeDriver

From Resonite Wiki
Revision as of 01:27, 29 July 2024 by AmasterAmaster (talk | contribs) (Added a warning note.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
RectSizeDriver component as seen in the Scene Inspector


The RectSizeDriver component is used to change the size of a RectTransform (or any other float2 value).

Using this component may have a chance of breaking your UIX, and will need to be recalculated when the component gets removed.
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.
TargetSize field drive of Float2 The target to scale using this component.
Scale Float2 The scale to adjust.

Usage

Examples

Related Components