Version: 2021.1
public Transform transform ;

描述

附加到此 GameObjectTransform

using UnityEngine;

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