Author Topic: HUDText Error Message  (Read 4171 times)

JerryShih

  • Guest
HUDText Error Message
« on: January 02, 2014, 05:11:32 AM »
Dears,

I'd purchased HUDText just now. There's coming three error messages as below when I import the HUDTEXT package and NGUI package.


==========================================================================================
Assets/HUD Text/Scripts/HUDText.cs(181,26): error CS1061: Type `UILabel' does not contain a definition for `applyGradient' and no extension method `applyGradient' of type `UILabel' could be found (are you missing a using directive or an assembly reference?)

Assets/HUD Text/Scripts/HUDText.cs(182,26): error CS1061: Type `UILabel' does not contain a definition for `gradientTop' and no extension method `gradientTop' of type `UILabel' could be found (are you missing a using directive or an assembly reference?)

Assets/HUD Text/Scripts/HUDText.cs(183,26): error CS1061: Type `UILabel' does not contain a definition for `gradientBottom' and no extension method `gradientBottom' of type `UILabel' could be found (are you missing a using directive or an assembly reference?)


Anybody has the painful situation before? Thanks in advance.

JerryShih

  • Guest
Re: HUDText Error Message
« Reply #1 on: January 02, 2014, 05:22:05 AM »
Dears,

I'd purchased HUDText just now. There's coming three error messages as below when I import the HUDTEXT package and NGUI package.


==========================================================================================
Assets/HUD Text/Scripts/HUDText.cs(181,26): error CS1061: Type `UILabel' does not contain a definition for `applyGradient' and no extension method `applyGradient' of type `UILabel' could be found (are you missing a using directive or an assembly reference?)

Assets/HUD Text/Scripts/HUDText.cs(182,26): error CS1061: Type `UILabel' does not contain a definition for `gradientTop' and no extension method `gradientTop' of type `UILabel' could be found (are you missing a using directive or an assembly reference?)

Assets/HUD Text/Scripts/HUDText.cs(183,26): error CS1061: Type `UILabel' does not contain a definition for `gradientBottom' and no extension method `gradientBottom' of type `UILabel' could be found (are you missing a using directive or an assembly reference?)


Anybody has the painful situation before? Thanks in advance.


BTW, NGUI version is 3.0.4.  &  HUDText is 1.9.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: HUDText Error Message
« Reply #2 on: January 02, 2014, 11:42:47 AM »
You need to update your version of NGUI.

JerryShih

  • Guest
Re: HUDText Error Message
« Reply #3 on: January 02, 2014, 08:56:38 PM »
You need to update your version of NGUI.


Hi ArenMoook.

Thanks a lot!

It worked just fine when I updated everything.

BTW, I also found one package for NGUI 270 in HUDText.
You are good developers.


Jerry Shih

asdfman79

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Re: HUDText Error Message
« Reply #4 on: January 16, 2014, 04:53:36 PM »
I'm getting the same error, but I'm pretty sure I have NGUI 3.0.5.  At least, that's the version number on the readme file.  HUDText is definitely version 1.9.  Any suggestions?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: HUDText Error Message
« Reply #5 on: January 17, 2014, 12:49:11 AM »
Latest NGUI is 3.0.8. 3.0.5 is old.