You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Texture does not have a function to remove an existing frame, and Frame's destroy() function does not appear to remove the Frame instance from the source texture, either.
The text was updated successfully, but these errors were encountered:
I only discovered this when looking for a workaround for #4459. I was procedurally generating an atlas, and the way I had stuff working ended up causing it to re-add the same frame names to the CanvasTexture again as part of that process.
Thank you for submitting this feature request. We have implemented this and the feature has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Phaser: 3.16.2
Texture
does not have a function to remove an existing frame, andFrame
'sdestroy()
function does not appear to remove theFrame
instance from the source texture, either.The text was updated successfully, but these errors were encountered: