|
MissingMethodException: Method not found: 'UnityEngine.Random.Range'. Boo.Lang.Runtime.DynamicDispatching.MethodDispatcherFactory.ProduceExtensionDispatcher () [Edit by Berenger : Code formatting]
(comments are locked)
|
|
It's because you didn't type your variables to ints or floats. Try this instead: Should make it work. That's not why. The variables should be typed, but that's not actually relevant to the question, and the code works as-is.
Apr 19 '12 at 06:56 AM
Eric5h5
(comments are locked)
|

Your code doesn't give any errors?
Try Random.RandomRange(speedMin, SpeedMax);
@Noran: no, look in the docs. It's Random.Range.
@chiggafoo: define your variable types. Also, format code when you post it.