https://gamedevelopertips.com/unityengine-random-vs-system-random/ System.Random a = new System.Random(); У UnityEngine свой класс для рандома..