2013-11-24から1日間の記事一覧
Unityにはランダム生成専用のクラスが有ります。■公式リファレンス:Random http://docs-jp.unity3d.com/Documentation/ScriptReference/Random.html 使い方は単純で、 Random.Range(min, max) とすると、min 〜 max-1 の範囲までの値が取得できます。 maxが…
Unityにはランダム生成専用のクラスが有ります。■公式リファレンス:Random http://docs-jp.unity3d.com/Documentation/ScriptReference/Random.html 使い方は単純で、 Random.Range(min, max) とすると、min 〜 max-1 の範囲までの値が取得できます。 maxが…