gameobject unity get variable code example Example: variable gameobject unity public GameObject *name*;