Hi again and thanks for looking again lol
The problem i have now is i don't understand how i can update my score script with with textures or custom fonts. What i want is something like angry birds how they have a custom font and it splashes on the screen for a short while but i don't understand the gui.Text or the texture2D. What i mean to say is i don't understand how to use them and how to call them.So that when i collect something that has point value it displays and updates the gui or texture. Could some kind soul give me an example?
var addpoints = 0000;
var healthsound : AudioClip;
function OnTriggerEnter (other : Collider) {
if (other.gameObject.tag == "collect") {
addpoints += 0005;
Debug.Log ("Score = " + addpoints);
Destroy(other.gameObject);
AudioSource.PlayClipAtPoint(healthsound, transform.position);
}
}