UITransform Component Reference

The UITransform component defines the rectangle information on the UI, including the content size and anchor position of the rectangle. This component allows developers to modify the size and position of the rectangle freely, generally for rendering, calculation of click events, UI layout, screen adaptation, etc.

Click the Add Component button at the bottom of the Inspector panel and select UITransform from UI to add the UITransform component to the node.

UITransform Properties

Properties Function Explanation
ContentSize The content size of UI rectangle.
AnchorPoint The anchor position of UI rectangle.
Priority The priority of UI nodes, sorted in the parent node. The order of the Canvas node is not affected by this property.

results matching ""

    No results matching ""