I’m creating various prefabs that I can reuse for multiple levels of a game. The one I’m working on now is a CountdownTimer. I just want to display a timer on screen that counts down and stops at zero. I’ve got that far, and it’s working well. However, it’s only working with the GUIText object in the hierarchy itself.
I’ve created a prefab with the same functionality/script attached to it, and it also works great (tested using Debug.Log), but I’m not clear on how I’m supposed to get it to show up when the game is running. I can position it anywhere that would otherwise be visible, but it never is. My camera IS set to render the GUILayer…
Have already done some searching, but so far, no luck. These seemed promising, but didn’t get whatever answer I need (or I didn’t understand them):
My prefab consists of a script and GUIText.
Background: Beginner to Unity…but my day job is software development. So explain the Unity concepts very, very slowly… =)
Thanks!