ドキュメント

Unity Engine

Download Unity

Unity Engine

GetChildCount()

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

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public int GetChildCount()

Returns

Type

Description

intThe number of direct children.

Remarks

Returns 0 if this transform is not currently part of a hierarchy.