Author Topic: Is it possible to organize all 3rd party assets under another folder?  (Read 5808 times)

Dennis_N

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
My assets folder is a mess. Every single 3rd party script I download goes in there, and at this point I have a hard time finding my own asset folders.
I thought I could move 3rd party assets to a single 3rd party folder to reduce the clutter. The metadata of course keeps track of that, and the scripts stay linked. However if I update NGUI it creates a second folder back at the main Asset folder.
Is there any way to make the updates keep track of where the folders have moved? I thought metadata was supposed to do that. But maybe I'm mistaken.

Yukichu

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 8
  • Posts: 101
    • View Profile
Re: Is it possible to organize all 3rd party assets under another folder?
« Reply #1 on: February 21, 2014, 10:36:50 AM »
I know the feeling.  I particularly get annoyed with assets that have their paths hardcoded into something and you actually cannot move them.

It seems sometimes I can upgrade something in a moved folder and sometimes I cannot (it creates a new install) though I am unsure why.  It seems to happen less recently though.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Is it possible to organize all 3rd party assets under another folder?
« Reply #2 on: February 21, 2014, 01:19:50 PM »
Did you see the upgrade instructions in the readme file? You shouldn't have an NGUI folder to begin with.

Dennis_N

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: Is it possible to organize all 3rd party assets under another folder?
« Reply #3 on: February 21, 2014, 03:06:05 PM »
Did you see the upgrade instructions in the readme file? You shouldn't have an NGUI folder to begin with.

Not sure what you mean I don't need an NGUI folder. The instructions inside the package (ReadMe - 3.0.9 f7.txt) say: 
"1. In Unity, File -> New Scene
2. Delete the NGUI folder from the Project View.
3. Import NGUI from the updated Unity Package."

This creates a brand new NGUI folder at the root of the Assets.

What am I not understanding here?


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Is it possible to organize all 3rd party assets under another folder?
« Reply #4 on: February 21, 2014, 03:18:04 PM »
Yup, that's correct. And you can then move the folder where you need it to be. The key is to make sure that you delete NGUI before importing it from the updated package.

Dennis_N

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: Is it possible to organize all 3rd party assets under another folder?
« Reply #5 on: February 21, 2014, 03:34:31 PM »
Well, you could add a couple of lines of code to go through the directory and delete/update the folder at whatever path location it is at. Makes it easier for idiots like myself. :D Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Is it possible to organize all 3rd party assets under another folder?
« Reply #6 on: February 21, 2014, 03:36:07 PM »
That would mean that users would have to run some command that does it instead of importing things from the Asset Store, which is even less likely for people to do.