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

Component:RectSizeDriver

From Resonite Wiki
Revision as of 01:23, 29 July 2024 by AmasterAmaster (talk | contribs) (Added a description. Basic cleanup.)
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).

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.
TargetSize field drive of Float2 The target to scale using this component.
Scale Float2 The scale to adjust.

Usage

Examples