Tasharen Entertainment Forum
Support => Other Packages => Topic started by: Somoraze on August 03, 2013, 02:42:10 PM
-
Hi,
I cannot make the HUDText move above the target, could you please provide some help?
The examples from the package cannot work because it says "script missing" below HUD :-\
As in the tutorial, I have got a HUD objet with a HUDText and its 2 scripts (HUDText and UIFollow Target), and the target set. I think I saw in one of your video the same issue, but I cannot find a "camera panel" : so far, I have got the 2 cameras in the UIFollow script, and the label follows the cube correctly. But it does not do any effect...
Any help would be very appreciated :)
Thanks
-
Script missing? On what? Are you sure you imported HUDText correctly? Try importing it fully into a new project.
"Camera panel" is a helper window opened with NGUI via the NGUI menu up top.
What "effect" are you talking about?
-
Sorry about that, I found the camera panel and the examples work fine. But not the effect with my HUDText object.
I added a HUD empty object, and I attached a HUDRoot script to it, then I added a HUDText with the 2 scripts HUDText and UIFollow, and a label as a child. The label goes to the cube as expected, but nothing is happening.
I put enclosed some pictures
Thanks for your help
-
"nothing is happening" -- what should be happening? Do you actually ever call HUDText.Add function?
-
Thanks ArenMook, indeed it works with the Add function, I misunderstood the effect had to be trigger from the script. Thanks for the answers