I am getting this compile error when I try and run this script: RandomRangeInt can only be called from the main thread.
Any Idea on how to solve this??
Yeah, don't try to run that Random command on variable init, do it this way:
If you want it to continuously make new random numbers, put that line from Start into Update also.
answered Jan 10 '12 at 05:47 AM