Version: 5.4
public Transform transform ;

Description

The Transform attached to this GameObject (null if there is none attached).

using UnityEngine;
using System.Collections;

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