Author Topic: I buy paid ver but have some problem on update free->paid 2.1.4  (Read 7183 times)

NJ_kung

  • Guest
If I try from you step(new scene->delete old NGUI folder from unity->Import NGUI+Project setting from source file) that add in read me file

it work ;D

------------------

but all of my ProjectSettings are lost :o

then

I replace with my back up ProjectSettings but I have error
- Assets/HUD Text/NGUI/Scripts/Editor/UIWidgetInspector.cs(16,19): error CS0433: The imported type `UIWidget' is defined multiple times
- Assets/NGUI/Scripts/Editor/BMFontReader.cs(47,34): error CS0433: The imported type `BMFont' is defined multiple times

I what file from your ProjectSettings That I can't replace 8)
« Last Edit: August 19, 2012, 11:56:57 PM by NJ_kung »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #1 on: August 19, 2012, 11:56:31 PM »
Why are you replacing ProjectSettings to begin with?

NJ_kung

  • Guest
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #2 on: August 19, 2012, 11:59:40 PM »
I try import only NGUI folder but have error

- Assets/HUD Text/NGUI/Scripts/Editor/UIWidgetInspector.cs(16,19): error CS0433: The imported type `UIWidget' is defined multiple times
- Assets/NGUI/Scripts/Editor/BMFontReader.cs(47,34): error CS0433: The imported type `BMFont' is defined multiple times

Then I try import both NGUI+Projectsettings that no error but lost my setting

 

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #3 on: August 20, 2012, 12:00:47 AM »
That means you still have the Free version's DLL in there. Delete it.

NJ_kung

  • Guest
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #4 on: August 20, 2012, 12:07:37 AM »
That means you still have the Free version's DLL in there. Delete it.

Where is it? (I fear to delete paid DLL :))

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #5 on: August 20, 2012, 12:08:11 AM »
Paid version doesn't have DLLs. Only the free one does.

NJ_kung

  • Guest
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #6 on: August 20, 2012, 12:11:27 AM »
So I can delete

NGUI.dll
and
NGUI.dll.meta

more DLL to delete?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #7 on: August 20, 2012, 12:11:53 AM »
Yup, delete them. There may also be NGUI_Editor.dll.

NJ_kung

  • Guest
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #8 on: August 20, 2012, 12:21:49 AM »
Yeah Thx  ;D

After delete free DLL it OK

Thx You :)

One more thing?

I use Visual studio editor for coding.

If I want to implement code that use NGUI class on visual studio

Can you tell me step by step how to install NGUI to visual studio  :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #9 on: August 20, 2012, 12:25:55 AM »
Sorry, you're on your own with that one. :P

dlewis

  • Guest
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #10 on: August 20, 2012, 01:31:50 AM »
Visual studio just works. All you have to do is open the correct solution file and that will load everything you need.

Go to the root folder and look for the .sln file with the same name as the project, this will load all the game and ngui source files.

NJ_kung

  • Guest
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #11 on: August 20, 2012, 10:23:04 PM »
I mean when I install unity to visual studio I must add UnityEngine.dll to reference.

When I want to use NGUI on my project I must add all file of NGUI(UIbutton/UISliced sprite/UI blah blah + many file) to my project? or only some dll?

Or

I must create new project and add all file of NGUI to that project and build dll with my self?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: I buy paid ver but have some problem on update free->paid 2.1.4
« Reply #12 on: August 21, 2012, 12:27:11 AM »
I don't have to do any of that. Assets -> Sync MonoDevelop Project is all I need to do, and only once.