📜  gdscript 查找随机数 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:08.133000             🧑  作者: Mango

代码示例1
randomize()
var random_value = rand_range(1,10) #float between 1 and 10.999
var random_integer = randi()%10+1 #int between 1 and 10