Version: 2022.1

DependencyInfo

class in UnityEditor.SceneTemplate

切换到手册

描述

A descriptor that stores one of a template Scene's dependency Assets, and specifies whether to clone or reference it when the template is instantiated.

变量

dependencyA dependency Asset of the template Scene.
instantiationModeThe action to take with the dependency when the template is instantiated.

构造函数

DependencyInfoConstructor for a DependencyInfo.