Component:RectSizeDriver
The RectSizeDriver component is used to change the size of a RectTransform (or any other float2 value).
More actions
(Redirected from RectSizeDriver (Component))
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).
| 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. |