I guess you want the number of children of your empty called Pickups
// Drag & drop the gameobject called `Pick ups` in the inspector
public Transform PickupsTransform;
void Start()
{
Debug.Log( PickupsTransform.childCount ) ;
}
I guess you want the number of children of your empty called Pickups
// Drag & drop the gameobject called `Pick ups` in the inspector
public Transform PickupsTransform;
void Start()
{
Debug.Log( PickupsTransform.childCount ) ;
}