An Asset that stores everything required to instantiate a new Scene from a templated Scene.
| addToDefaults | Use this field to add this template to the list of default templates in the New scene dialog. |
| badge | The Scene template's badge. |
| dependencies | Lists Scene dependencies, and specifies whether to clone or reference each one. |
| description | A description of the Scene template. This description can be long. In the Unity editor, it appears on multiple lines. |
| isValid | Specifies whether the Scene template is valid. Invalid templates do not appear in the New Scene dialog. |
| preview | The Scene template's preview image or icon. |
| templateName | A user-defined name for the Scene template Asset. By default, this is the template's file name. |
| templatePipeline | A script that derives from ISceneTemplatePipeline. It allows you to execute custom code when a template is instantiated. |
| templateScene | The Scene that is copied when the Scene template is instantiated. |
| GetInstanceID | Gets the instance ID of the object. |
| ToString | 返回对象的名称。 |
| Destroy | 移除 GameObject、组件或资源。 |
| DestroyImmediate | 立即销毁对象 /obj/。强烈建议您改用 Destroy。 |
| DontDestroyOnLoad | 在加载新的 Scene 时,请勿销毁 Object。 |
| FindAnyObjectByType | Retrieves any active loaded object of Type type. |
| FindFirstObjectByType | Retrieves the first active loaded object of Type type. |
| FindObjectOfType | 返回第一个类型为 type 的已加载的激活对象。 |
| FindObjectsByType | Retrieves a list of all loaded objects of Type type. |
| FindObjectsOfType | Gets a list of all loaded objects of Type type. |
| Instantiate | 克隆 original 对象并返回克隆对象。 |
| CreateInstance | 创建脚本化对象的实例。 |
| bool | 该对象是否存在? |
| operator != | 比较两个对象是否引用不同的对象。 |
| operator == | 比较两个对象引用,判断它们是否引用同一个对象。 |