文档

Unity Engine

Download Unity

Unity Engine

HasHierarchy

Returns whether this transform is currently part of a hierarchy.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Property
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public bool HasHierarchy { get; }

Remarks

A transform that was never parented or has no children will not be part of a hierarchy.