Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Rabagast on February 18, 2015, 11:53:37 AM
-
Hi!
How can I make a text following an object? To be more specific.
I make a 2D shooter where I can pick up power ups. This is just a prototype for now.
So I want to have a text for each power up, just for prototyping, so it's easer for me to know the function of each power up.
-
connect text as a child to you object?
or instead of text, connect a sprite and swapping the sprite picture for each power up picked up.
-
Hi,
I think this is for the new UI system of Unity, for a UI Text to follow a GameObject on Screen.
I made a micro sample on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) demonstrating this. Get it from there ( it's more convenient), or download it below directly:
uGuiTextFollowGameObject.unityPackage (https://github.com/jeanfabre/PlayMaker--Unity--UI/raw/master/PlayMaker/Ecosystem/Custom%20Samples/uGui/uGuiTextFollowGameObject.unitypackage)
Bye,
Jean