Version: 2023.1
public SceneManagement.Scene newScene ;

描述

The Scene containing the new parent. This is useful to detect whether a GameObject was moved to another scene or moved to the root of a scene.