Resources.InstanceIDIsValid

Declaration

public static bool InstanceIDIsValid(int instanceId);

Parameters

instanceID ID of an Object.

Description

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.


Did you find this page useful? Please give it a rating: