Unity Engine documentationScript ReferenceUnityEditorDestroyGameObjectHierarchyEventArgsinstanceIdThe instance ID of the GameObject that has been destroyed.Read time 1 minuteLast updated 9 days agoDefinition Type: Property Namespace: UnityEditor Assembly: UnityEditor public int instanceId { get; }