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.