-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
good first issueIndicating to new contributors a PR is simple/easy. Things like documentation or type fixes.Indicating to new contributors a PR is simple/easy. Things like documentation or type fixes.🕷 BugVerified that it’s actually a legit bug that exists in the current release.Verified that it’s actually a legit bug that exists in the current release.
Description
Current Behavior
There's no option to destroy the underlying texture for AnimatedSprite's destroy method. (I raised this in the Discord and was told to make a Github issue).
AnimatedSprite's destroy method:
public destroy(): void |
Sprite's destroy method:
pixijs/src/scene/sprite/Sprite.ts
Line 210 in 2c0f2e5
public override destroy(options: DestroyOptions = false) |
Expected Behavior
There should be an option to destroy the texture like there was in previous versions of pixi.
Steps to Reproduce
N/A
Environment
PIXI version 8
Possible Solution
No response
Additional Information
No response
Metadata
Metadata
Assignees
Labels
good first issueIndicating to new contributors a PR is simple/easy. Things like documentation or type fixes.Indicating to new contributors a PR is simple/easy. Things like documentation or type fixes.🕷 BugVerified that it’s actually a legit bug that exists in the current release.Verified that it’s actually a legit bug that exists in the current release.