hey, I`m trying to make a prefab instantiate and then find a GUIText though i have no idea how so here is what i got:
var PlayerHealthDisplay: GUIText;
function DisplayAmount () {
if (GUIText){
PlayerHealthDisplay.text = "" + health;
}
}
function Start () {
PlayerHealthDisplay = guiText.tag == "Health";
}
the console says that it cant convert a Boolean into a UnityEngine.GUIText