if(ChangeRoom.Place == 3){
transform.position = new Vector3(-16.6f,1.3f,-4.2f);
Close_ui_switch_room();
}
if(ChangeRoom.Place == 2){
transform.position = new Vector3(-8.0f,0.7f,-3.79f);
Close_ui_switch_room();
}
if(ChangeRoom.Place == 1){
transform.position = new Vector3(4.5f,1.4f,-4.0f);
Close_ui_switch_room();
}
if(ChangeRoom.Place == 0){
transform.position = new Vector3(0.0f,0.7f,-4.1f);
Close_ui_switch_room();
}
этот часть когда попробуй в fixedupdate засунуть