public Transform transform ;

Descripción

The Transform attached to this GameObject.

using UnityEngine;
using System.Collections;

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