DependOnAsset(Object)
Allows you to specify that a Scene depends on contents of an asset directly provided.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Build
- Assembly: UnityEditor.CoreModule
public static void DependOnAsset(Object asset)
Parameters
The Unity Object from an asset.
Remarks
Scene rebuild will be triggered if the condition is true:
- if the asset or any of its dependencies changes.