Cache#removeTextureAtlas()

removeTextureAtlas(key)

Removes a Texture Atlas from the cache.

Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewhere
then it will persist in memory.

Parameters
Name Type Description
key string

Key of the asset you want to remove.

Source code: loader/Cache.js (Line 1882)
doc_phaser
2017-02-14 10:40:32
Comments
Leave a Comment

Please login to continue.