Hello Guest

Author Topic: Possible to remove a texture from a Collection?  (Read 5705 times)

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Possible to remove a texture from a Collection?
« on: February 18, 2012, 03:39:11 am »
I tried searching both here and on the Unity forums and I couldn't find the question being asked, apologies if this has been answered. Is there a way to simply remove a texture from a Collection? Right now if I have many texture refs and I want to re-arrange into a different atlas, or if I just want to remove a texture altogether, I can't really do anything short of shrinking the Texture Refs size and re-commit. But how do I remove a texture that is deeper in the list? Thanks!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Possible to remove a texture from a Collection?
« Reply #1 on: February 18, 2012, 08:12:40 am »
If you delete the texture reference, as in select it and press backspace, it won't be included in the atlas any more. It doesn't look very nice having empty references in your sprite collection, but it does work. I will be adding some nicer UI to that in a future version, so you will be able to delete stuff more properly.