Unity Engine documentationScript ReferenceUnityEditorSelectionModeTopLevelOnly return the topmost selected transform. A selected child of another selected transform will be filtered out.阅读时间1 分钟最后更新于 1 个月前Definition Type: Field Namespace: UnityEditor Assembly: UnityEditor TopLevel = 1