how to reference a gameobject name in script code example Example: how to name GameObject in c# GameObject.name = "Ben";