Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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 7 days ago

Definition

public static void DependOnPath(string path)

Parameters

path

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.