|
I am looking for a java script that will pick out a random number between 0 and 360 every 5 seconds. I already have this: yield WaitForSeconds(2); randomDirection = Random.Range(0, 360); Thanks for the help!
(comments are locked)
|
Thanks, it worked!
May 22 '11 at 11:49 PM
MrJagaloon
(comments are locked)
|
|
Thanks alot! Please don't post comments as answers. Also, vote up/accept answers that help you.
May 21 '11 at 01:11 AM
Eric5h5
(comments are locked)
|
|
Nevermind.... I don't have time to do this right now and Unity Answers won't let me delete my answer. I'm sorry.
(comments are locked)
|
|
Just add a function Update, with an if statement, calling another function which sets pickNumber to true every 5 seconds.
(comments are locked)
|
|
Nevermind... I don't have time to type an answer and Unity Answers won't let me delete my answer. Sorry.
(comments are locked)
|
