unity array of child objects

C#
Transform[] children = GetComponentsInChildren<Transform>();
Source

Also in C#: