Version: 2017.3
public Transform transform ;

描述

附加到此 GameObjectTransform

using UnityEngine;
using System.Collections;

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