cc.random0To1 is not a function帮忙看下

cc.random0To1 is not a function;at setTimeout callback function
这个函数用那个函数替换。或者去那里找相关函数

Math.random()

骚年,要会用百度啊

cc.random0To1这个方法在2.0.0之后(包括2.0.0),已经弃用了。用Math.random()代替

帮顶。