Get public variable from other gameobject unity. var loginButton = … But when I play the field is empty.