I tried to make a random number, but I get that error.
awake(){
var ran = new RNG('w');
Sup.log(ran.random(1,10))
}
Is there something wrong with my code
For info - There is a problem with the 0.19.0 release which broke RNG class. Yvanor's tip fixes it for now, but for future randomization RNG is the way to go, Math.Random doesn't support seeding so it becomes very difficult to find bugs with randomized behavior. The fix was commit on Jan 15 Github 589a6d9