Author Topic: in the first video where is the ngui  (Read 3728 times)

d

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
in the first video where is the ngui
« 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

d

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: in the first video where is the ngui
« Reply #1 on: October 05, 2014, 11:21:07 PM »
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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: in the first video where is the ngui
« Reply #2 on: October 06, 2014, 10:19:53 AM »
Do you have some other class called "UIWidget" in your project? From UI Toolkit perhaps?

d

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: in the first video where is the ngui
« Reply #3 on: October 06, 2014, 08:54:48 PM »
I don't have the other class call UIWidget. I don't see you have it in your project. Can you show me how?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: in the first video where is the ngui
« Reply #4 on: October 07, 2014, 02:12:47 AM »
You have two classes named UIWidget in your project; maybe you imported NGUI twice somehow? Make sure there's only one.

d

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: in the first video where is the ngui
« Reply #5 on: October 07, 2014, 09:35:52 PM »
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.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: in the first video where is the ngui
« Reply #6 on: October 08, 2014, 01:16:48 PM »
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.