Version: 2021.1
public SceneManagement.Scene previousScene ;

描述

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