Transform.positionvar position : Vector3DescriptionThe position of the transform in world space.
JavaScript
// Move the object to (0, 0, 0) using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > Transform | Switch to Component | |||
Transform.positionvar position : Vector3DescriptionThe position of the transform in world space.
JavaScript
// Move the object to (0, 0, 0) using UnityEngine; import UnityEngine |