unity test if child count is greater than 0 code example
Example: unity check if number is multiple of x
if (number % 3 == 0)
{
// The number is a multiple of three
}
if (number % 3 == 0)
{
// The number is a multiple of three
}