目次
公式ドキュメント
ランダムな数値を取得する関数
GetRandomInt(Low:int, High:int)- [Low:int]と[High:int]に設定した間のint型の値をランダムで返す。
GetRandomFloat(Low:float, High:float)- [Low:float]と[High:float]に設定した間のfloat型の値をランダムで返す。
using { /Verse.org/Random }- GetRandomInt()、GetRandomFloat()関数を使用するためにVerseファイルの先頭に「using { /Verse.org/Random }」を追記する。
コメント