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