Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: d on October 05, 2014, 09:51:20 PM
-
start a new scene my is plain. and there are two camera. dont see anything in the game view. i have the 3.7.4
-
alright finally get some stuff up and running but im stuck on video three with this error message. error cs1061 type UIWidget does not contain a defition for color. help please
-
Do you have some other class called "UIWidget" in your project? From UI Toolkit perhaps?
-
I don't have the other class call UIWidget. I don't see you have it in your project. Can you show me how?
-
You have two classes named UIWidget in your project; maybe you imported NGUI twice somehow? Make sure there's only one.
-
i can import NGUI a thousand time if i wanted to and it still not gonna give me any error message. I think the problem is the UIWidget class. I only have the Test class. and if I do imported NGUI a thousand time, how can I unimport? The UIWidget don't exist that y i Have this problem.
-
UIWidget is a core NGUI class found in NGUI/Scripts/Internal, and the 'color' property is on line 286 of that file.
The fact that you are getting an error message saying "does not contain" tells me that you do in fact have a UIWidget class somewhere. If you didn't have any, you would see a different error message. So search your Project or "UIWidget" and see what shows up.