phaser
phaser copied to clipboard
can't add particle to container
Phaser 3.9.0
I'm creating particle via this.add.particles(key, frame)
when i'm trying to add particle to my container (for depth sorting inside container) I'm getting this error
ContainerWebGLRenderer.js:59 Uncaught TypeError: child.setScrollFactor is not a function
at SkinUnlockPopup.ContainerWebGLRenderer [as renderWebGL] (ContainerWebGLRenderer.js:59)
at WebGLRenderer.render (WebGLRenderer.js:1563)
at CameraManager.render (CameraManager.js:409)
at Systems.render (Systems.js:298)
at SceneManager.render (SceneManager.js:587)
at UnikittyGame.step (Game.js:450)
at TimeStep.step (TimeStep.js:553)
at step (RequestAnimationFrame.js:102)
if it's not expected to add particle object to container, please make that ability, thanks for attention
This is already fixed in the current version. fix
@TadejZupancic thanks, will wait for release :D