public Transform transform ;

설명

The Transform attached to this GameObject.

using UnityEngine;

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