UnityEngine.Random.Range (1000, 9999);
UnityEngine.Random.Range (-10.0f, 10.0f);
int i = UnityEngine.Random.Range (1, 5);
intの場合は0~5ではなく0~4なる