Hi!
In an effort to learn it better, I have spent the last week or so working on pure scripting.
The one thing that has stumped me time and time again is…well time!
In the simplest way possible, how does one do things such as count seconds?
for example:
If I wanted something to instantiate every 15 seconds, how would I do this?
Or if I wanted something to rotate for 10 seconds, stop for 15 seconds, then rotate again for ten seconds, how would the scripting of this work?
I can make it rotate, and insantiate, move, change colour, ect.and I understand UnityScript/JavaScript fairly well, but i’m stumped when it comes to timing.
Any help would be greatly appreciated!
Thanks
-Chris