Removes the Game Object at the given position in this Container.
You can also optionally call destroy
on the Game Object, if one is found.
name | type | arguments | Default | description |
---|---|---|---|---|
index | number |
The index of the Game Object to be removed. |
||
destroyChild | boolean | <optional> | false |
Optionally call |
This Container instance.