Transform component
Change the location, rotation, and scale of your GameObject.
阅读时间1 分钟最后更新于 2 个月前
Every GameObject has a Transform component by default.
Transform component properties
Change the values of this component to update the object's position, rotation, or size.Property | Description |
|---|---|
| Position | Set or retrieve the object's location in 3D world space (X, Y, Z). |
| Rotation | Set or retrieve the object's rotation around the X, Y, and Z axes (degrees). |
| Scale | Use the X, Y, and Z values to change or retrieve the object's size. |