Transform.childCountvar childCount : intDescriptionThe number of children the Transform has.
JavaScript
// print the number of child objects using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > Transform | Switch to Component | |||
Transform.childCountvar childCount : intDescriptionThe number of children the Transform has.
JavaScript
// print the number of child objects using UnityEngine; import UnityEngine |