Get public variable from gameobject unity