Version: 2021.3
public SceneManagement.Scene previousScene ;

描述

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