Versions with this page:
Versions without this page:
世界空间中的变换位置。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { transform.position = new Vector3(0, 0, 0); print(transform.position.x); } }