Version: 2023.2
public SceneManagement.Scene scene ;

描述

The Scene that contains the GameObject associated with the change. If a Component is changed, this is the GameObject to which the component belongs.