Version: 2022.3
public SceneManagement.Scene previousScene ;

描述

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