기술 자료

Unity Engine

Unity Engine

DependOnAsset(Object)

Allows you to specify that a Scene depends on contents of an asset directly provided.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static void DependOnAsset(Object asset)

Parameters

asset

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.