DependOnPath(string)
Allows you to specify that a Scene depends on contents of a source asset at the provided path.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Build
- Assembly: UnityEditor
public static void DependOnPath(string path)
Parameters
The path of the dependency.
Remarks
Scene rebuild will be triggered if either of the conditions are true:
- The asset at the path changes
- The asset at the path moves.