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")); }