Version: 2023.2
언어: 한국어
public static void DependOnAsset (Object asset);

파라미터

asset The Unity Object from an asset.

설명

Allows you to specify that a Scene depends on contents of an asset directly provided.

Scene rebuild will be triggered if the condition is true: * if the asset or any of its dependencies changes.