public Transform transform ;

説明

The Transform attached to this GameObject.

using UnityEngine;

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