HasChildren() static private method

static private HasChildren ( IEnumerable gameObjects ) : bool
gameObjects IEnumerable
return bool
 internal static GameObjectUtility.ShouldIncludeChildren DisplayUpdateChildrenDialogIfNeeded(IEnumerable <GameObject> gameObjects, string title, string message)
 {
     if (!GameObjectUtility.HasChildren(gameObjects))
     {
         return(GameObjectUtility.ShouldIncludeChildren.HasNoChildren);
     }
     return((GameObjectUtility.ShouldIncludeChildren)EditorUtility.DisplayDialogComplex(title, message, "Yes, change children", "No, this object only", "Cancel"));
 }