기술 자료

Unity Engine

Unity Engine

IsValid()

Determines whether this EntityId is set to a value other than EntityId.None.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool IsValid()

Returns

Type

Description

boolTrue if this EntityId is valid; otherwise, false.

Remarks

A valid
EntityId
isn't necessarily the identifier of an object that is currently loaded. To check whether the identified object is loaded, use
Resources.EntityIdIsValid
.