Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


previousParentInstanceId

The instance ID of the GameObject that was the previous parent of the target. Note that this is not the instance ID of its Transform.
Read time 1 minuteLast updated 6 days ago

Definition

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