Version: 2023.1
public SceneManagement.Scene previousScene ;

描述

The scene containing the previous parent. This is useful to detect whether a GameObject was moved to another scene.