安裝中文字典英文字典辭典工具!
安裝中文字典英文字典辭典工具!
|
- Difference between math. random() and math. randomseed() in Lua
math random gives you random numbers You probably will call this many times in a program that needs random numbers math randomseed determines where to start the sequence of random numbers given by math random You probably will call just once in a program that needs random numbers
- About math. random () - Book of Defold
When you call math random() without setting a seed you will get the same values each time every time you run your game This is due to the way "random" values are generated
|
|
|