ドキュメント

Unity Engine

Download Unity

Unity Engine

GetParent()

Gets the parent entity of this transform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public Entity GetParent()

Returns

Type

Description

EntityThe parent Entity, or Entity.Null if no parent exists.

Remarks

Returns Entity.Null if this transform is a root transform or is not currently part of a hierarchy.