Author Topic: NGUI Atlas  (Read 1532 times)

Aastha

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 18
    • View Profile
NGUI Atlas
« on: February 17, 2014, 01:31:17 AM »
Hi,
I have one confusion if I instantiate a prefab from resources then its atlas is added to the scene at that only and after destroying it the memory occupied by the atlas is free. Am I correct?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI Atlas
« Reply #1 on: February 17, 2014, 11:15:49 AM »
If you use Resources.Load, it's up to you to do Resources.UnloadUnusedAssets later. Nothing is released after it's loaded unless you tell it to. It's a Unity question.