# DependencyInfo

> 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.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.SceneTemplate](/engine/6000.7/script-reference/unityeditor/scenetemplate.md)
* **Assembly:** UnityEditor

```csharp
public sealed class DependencyInfo
```

## Fields

| Value                                                                                                              | Description                                                               |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
| [dependency](/engine/6000.7/script-reference/unityeditor/scenetemplate/dependencyinfo/dependency.md)               | A dependency Asset of the template Scene.                                 |
| [instantiationMode](/engine/6000.7/script-reference/unityeditor/scenetemplate/dependencyinfo/instantiationmode.md) | The action to take with the dependency when the template is instantiated. |

## Constructors

| Constructor                                                                                          | Description                                                                                                      |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [DependencyInfo()](/engine/6000.7/script-reference/unityeditor/scenetemplate/dependencyinfo/ctor.md) | Constructor for a [DependencyInfo](/engine/6000.7/script-reference/unityeditor/scenetemplate/dependencyinfo.md). |
