Made attributes of gameobject public