Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: primus88 on June 04, 2013, 03:09:47 PM

Title: Problem with NGUI: HUD Text
Post by: primus88 on June 04, 2013, 03:09:47 PM
Hello,

I just bought the NGUI: HUD Text but I can't use it because I receive the following errors :

Assets/HUD Text/Scripts/HUDText.cs(42,16): error CS0246: The type or namespace name `UIFont' could not be found. Are you missing a using directive or an assembly reference?
Assets/HUD Text/Scripts/HUDText.cs(48,16): error CS0246: The type or namespace name `UILabel' could not be found. Are you missing a using directive or an assembly reference?
Assets/HUD Text/Scripts/HUDText.cs(22,24): error CS0246: The type or namespace name `UILabel' could not be found. Are you missing a using directive or an assembly reference?

I did no change to any script or anything.

Please help/
Title: Re: Problem with NGUI: HUD Text
Post by: primus88 on June 04, 2013, 04:03:52 PM
Nevermind. Solved it.

Anyone has an idea why the flying text is not facing my camera ?
Title: Re: Problem with NGUI: HUD Text
Post by: ArenMook on June 04, 2013, 09:04:59 PM
HUDText works with a 2D UI camera by default, so the text that you're instantiating should be on 2D -- meaning there is no need to face the camera. You've also posted in the wrong forum. This forum is for NGUI support, not HUDText. :P
Title: Re: Problem with NGUI: HUD Text
Post by: mikez69 on December 19, 2013, 11:09:39 AM
I just saw this post and I am now having a similar issue…how did you solve it?

Nevermind. Solved it.

Anyone has an idea why the flying text is not facing my camera ?
Title: Re: Problem with NGUI: HUD Text
Post by: ArenMook on December 19, 2013, 12:21:35 PM
Likely by importing NGUI. HUDText is an extension that requires NGUI.