Method MergeChildren
MergeChildren(GameObject)
Merge children (recursively) of given GameObject. If given GameObject has no mesh or renderer, this method will create it with the merged content inside.
Declaration
public static void MergeChildren(this GameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | The gameobject on wich all children will be merged |