cocos2d-x JS 随机数时间:2024-01-21 22:22:15random4 : function (n, m){ var random = Math.floor(Math.random()*(m-n+1)+n); return random;},