Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: NJ_kung on August 19, 2012, 11:55:17 PM
-
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)
-
Why are you replacing ProjectSettings to begin with?
-
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
-
That means you still have the Free version's DLL in there. Delete it.
-
That means you still have the Free version's DLL in there. Delete it.
Where is it? (I fear to delete paid DLL :))
-
Paid version doesn't have DLLs. Only the free one does.
-
So I can delete
NGUI.dll
and
NGUI.dll.meta
more DLL to delete?
-
Yup, delete them. There may also be NGUI_Editor.dll.
-
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 :)
-
Sorry, you're on your own with that one. :P
-
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.
-
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?
-
I don't have to do any of that. Assets -> Sync MonoDevelop Project is all I need to do, and only once.