기술 자료

Unity Engine

Unity Engine

IsDirty

Gets a boolean value that indicates whether the specified object has changed since the last time it was saved.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

IsDirty(int)

Gets a boolean value that indicates whether the specified object has changed since the last time it was saved.
경고
Removed. IsDirty(int) is deprecated. Use IsDirty(EntityId) instead.
public static bool IsDirty(int instanceID)

Parameters

instanceID

The object's instance ID.

Returns

Type

Description

boolTrue if the object has changed; otherwise false.

Remarks

IsDirty(EntityId)

Gets a boolean value that indicates whether the specified object has changed since the last time it was saved.
public static bool IsDirty(EntityId entityId)

Parameters

entityId

Returns

Type

Description

boolTrue if the object has changed; otherwise false.

Remarks

IsDirty(Object)

Gets a boolean value that indicates whether the specified object has changed since the last time it was saved.
public static bool IsDirty(Object target)

Parameters

target

The object.

Returns

Type

Description

boolTrue if the object has changed; otherwise false.

Remarks