Select your preferred scripting language. All code snippets will be displayed in this language.
enumeration
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseAn enumeration of transform properties that can be driven on a RectTransform by an object.
See Also: RectTransform.reapplyDrivenProperties.
None | Deselects all driven properties. |
All | Selects all driven properties. |
AnchoredPositionX | Selects driven property RectTransform.anchoredPosition.x. |
AnchoredPositionY | Selects driven property RectTransform.anchoredPosition.y. |
AnchoredPositionZ | Selects driven property RectTransform.anchoredPosition3D.z. |
Rotation | Selects driven property Transform.localRotation. |
ScaleX | Selects driven property Transform.localScale.x. |
ScaleY | Selects driven property Transform.localScale.y. |
ScaleZ | Selects driven property Transform.localScale.z. |
AnchorMinX | Selects driven property RectTransform.anchorMin.x. |
AnchorMinY | Selects driven property RectTransform.anchorMin.y. |
AnchorMaxX | Selects driven property RectTransform.anchorMax.x. |
AnchorMaxY | Selects driven property RectTransform.anchorMax.y. |
SizeDeltaX | Selects driven property RectTransform.sizeDelta.x. |
SizeDeltaY | Selects driven property RectTransform.sizeDelta.y. |
PivotX | Selects driven property RectTransform.pivot.x. |
PivotY | Selects driven property RectTransform.pivot.y. |
AnchoredPosition | Selects driven property RectTransform.anchoredPosition. |
AnchoredPosition3D | Selects driven property RectTransform.anchoredPosition3D. |
Scale | Selects driven property combining ScaleX, ScaleY && ScaleZ. |
AnchorMin | Selects driven property combining AnchorMinX and AnchorMinY. |
AnchorMax | Selects driven property combining AnchorMaxX and AnchorMaxY. |
Anchors | Selects driven property combining AnchorMinX, AnchorMinY, AnchorMaxX and AnchorMaxY. |
SizeDelta | Selects driven property combining SizeDeltaX and SizeDeltaY. |
Pivot | Selects driven property combining PivotX and PivotY. |
DrivenTransformProperties | Selects driven property RectTransform.anchoredPosition.x. |
DrivenTransformProperties | Selects driven property RectTransform.anchoredPosition.y. |
DrivenTransformProperties | Selects driven property Transform.localPosition.z. |
DrivenTransformProperties | Selects driven property combining PositionX, PositionY and PositionZ. |