기술 자료

Unity Engine

Unity Engine

ClearDirty(Object)

Clear /target's/ dirty flag.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void ClearDirty(Object target)

Parameters

target

Remarks

Unity uses the dirty flag to find changed assets that must be saved to disk. Clear the dirty flag if you make changes to an asset that don't need to be saved, such as temporary changes that you subsequently revert.