Advertisement
_EagleOwle_

RandomNumber

Feb 18th, 2020
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.15 KB | None | 0 0
  1. public static int RandomNumber(int maxInt)
  2.     {
  3.         int randomNum = UnityEngine.Random.Range(1, maxInt + 1);
  4.         return randomNum;
  5.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement