Version: 2023.2

Stage.OnFirstTimeOpenStageInSceneView

切换到手册
protected void OnFirstTimeOpenStageInSceneView (SceneView sceneView);

参数

sceneView The Scene view the Stage is opened in.

描述

Unity calls this method the first time a Stage is opened for a specific Asset, for a specific Scene view.

Classes that inherit from Stage can implement this method to configure the Scene view in a suitable way for this Stage.