AfterTemplateInstantiation(SceneTemplateAsset, Scene, bool, string)
An event called after the Scene template is instantiated, and while the new Scene is still loaded.
읽는 시간 1분최근 업데이트: 2달 전
Definition
- Type: Method
- Namespace: UnityEditor.SceneTemplate
- Assembly: UnityEditor
public virtual void AfterTemplateInstantiation(SceneTemplateAsset sceneTemplateAsset, Scene scene, bool isAdditive, string sceneName)
Parameters
The Scene template Asset to instantiate.
The newly created Scene.
When set to true, the new Scene is created in additive mode.
The path to the newly created Scene. If the template you instantiated does not have any cloneable dependencies, this can be empty.