文档

Unity Engine

Unity Engine

InstanceIDIsValid(int)

Returns true if the given instance ID corresponds to a valid Object in memory. The Object could have been deleted or not loaded into memory yet.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool InstanceIDIsValid(int instanceId)

Parameters

instanceId

Returns

Type

Description

bool