updating UI text on trigger

I am new top Unity and its scripting.

So I have created a game, in which an helicopter goes through a ring. So what I wanted to do is that when this helicopter passes through the ring I want the text on GUI to update incrementally 10 times (which is basically a score card).

Could anyone help me with the script.

Thank you.

http://unity3d.com/learn/tutorials/modules/beginner/ui/ui-text
http://docs.unity3d.com/412/Documentation/ScriptReference/index.Coroutines_26_Yield.html

1 Like

Got it thanks!