Open latin-1 opened 5 months ago
PixiJS's Contaienr has a '.removeChild(...)' API that should not be considered incorrect.
Contaienr
https://pixijs.download/release/docs/scene.Container.html#removeChild
container.removeChild(child);
This is because unicorn doesn't know what container is. However the suggestion still applies since child.removeFromParent() exists in Pixi.js as well
container
child.removeFromParent()
PixiJS's
Contaienr
has a '.removeChild(...)' API that should not be considered incorrect.https://pixijs.download/release/docs/scene.Container.html#removeChild