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