Content-Length: 17543 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Component-gameObject.html
The game object this component is attached to. A component is always attached to a game object.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { print(gameObject.name); } }
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Component-gameObject.html
Alternative Proxies: