[SOLVED]receiving event instead of yeild for WaitForSeconds?

Any way i can register event to be call in X amout of second?

a little like this:
NotifyMeInSeconds(5, new EventHandler(on5secLater));

then i receive my events later!

im and event programmer :twisted: !

The MonoBehaviour class (the basic class that is created for a script) has a method called Invoke which calls a function after a specified amount of time.

work perfect, thanks a lot :wink: