Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
unity get number of child objects
Cute
Programming language:
C#
2021-04-29 22:28:33
1
Q:
unity get number of child objects
JIM
Code:
C#
2021-03-20 08:55:30
// The number of child objects is given by: GameObject.transform.childCount;
4
Tags
unity
number
object
get
objects
Related
get gameobject child by name
get all child gameObject of gameObject C#
unity get child
unity get all children
unity get layer of gameobject
unity array of child objects
how to reference a child object unity
unity get component
get position of any gameobject in unity
unity access child
unity cycle children
New to Communities?
Join the community