Unity Engine documentationScript ReferenceUnity.HierarchyHierarchyNodeIdThe unique identification number of the hierarchy node.Read time 1 minuteLast updated 2 months agoDefinition Type: Property Namespace: Unity.Hierarchy Assembly: UnityEngine.HierarchyCoreModule public int Id { get; }