Skip to content

Instantly share code, notes, and snippets.

@mizutanikirin
Created October 31, 2014 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mizutanikirin/b66bdc176705c6366f4b to your computer and use it in GitHub Desktop.
Save mizutanikirin/b66bdc176705c6366f4b to your computer and use it in GitHub Desktop.
Unityで整数乱数を生成する
// 0~9の間の整数乱数を生成する
int rnd = Random.Range(0, 9);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment