ドキュメント

Unity Engine

Download Unity

Unity Engine

GetChild(int)

Gets the child entity at the specified index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public Entity GetChild(int index)

Parameters

index

The zero-based index of the child.

Returns

Type

Description

EntityThe child Entity, or Entity.Null if invalid.

Remarks

Returns Entity.Null if the index is out of bounds or this transform is not part of a hierarchy.