Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


parentInstanceId

The instance ID for the parent GameObject of the GameObject that has been destroyed.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Removed. parentInstanceId is deprecated. Use parentEntityId instead.
public int parentInstanceId { get; }