public Transform transform ;

Descripción

El Transform adjuntado a este GameObject.

using UnityEngine;

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