Version: 2023.2

Resources.InstanceIDIsValid

切换到手册
public static bool InstanceIDIsValid (int instanceId);

参数

instanceID ID of an Object.

描述

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.