Version: 2023.1
public static void DependOnPath (string path);

参数

path The path of the dependency.

描述

Allows you to specify that a Scene depends on contents of a source asset at the provided path.

Scene rebuild will be triggered if either of the conditions are true: * The asset at the path changes * The asset at the path moves.