unityengine random code example Example: unity random var RandomValue = UnityEngine.Random.Range(min,max);