Author Topic: Is an Incremental NGUI update possible?  (Read 2700 times)

dillrye

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 30
    • View Profile
Is an Incremental NGUI update possible?
« on: November 18, 2013, 02:46:14 PM »
Hello,
For our application we were relying heavily on NGUI for our 2d elements.  Our application consists of many mulitlayered UIs with various animation aspects to each one which will make updating from 2.7 to 3.x take quite a while per scene.  I was wondering if there was a way we could run both versions side by side and update to the new version on a per scene basis? 

Off the top of my head I would think that renaming all of the 2.7 files to something like UIOLD (UISprite -> UIOLDSprite) would work, but we would need to then update all of the prefabs(we have quite a few).  Is there any way we could automate updating the prefabs?  Or do you have any suggestions about what we could do?

Thank you,
Dylan

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Is an Incremental NGUI update possible?
« Reply #1 on: November 19, 2013, 10:02:17 PM »
This approach won't work because NGUI files share the same GUIDs. A UISprite in one version will be the same UISprite from another server. This is so that upgrading doesn't force you to re-do your UI.

I suggest you upgrade from 2.7 to 3.0.2 if you have access to it, and then go up to 3.0.5/6.