Version: 2017.2
public Transform transform ;

描述

附加到此 GameObject 的 Transform

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public GameObject other; void Example() { other.transform.Translate(1, 1, 1); } }