variable for game object unity code example Example: variable gameobject unity public GameObject *name*;