removeAll(destroy, silent, destroyTexture)
Removes all children from this Group, but does not remove the group from its parent.
The children can be optionally destroyed as they are removed.
You can also optionally also destroy the BaseTexture the Child is using. Be careful if you've
more than one Game Object sharing the same BaseTexture.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
destroy | boolean | <optional> | false | If true |
silent | boolean | <optional> | false | If true the children will not dispatch their |
destroyTexture | boolean | <optional> | false | If true, and if the |
- Inherited From
- Source code: core/Group.js (Line 2508)
Please login to continue.