Version: 2017.1
public static float value ;

Description

Возвращает случайное число между 0.0 [вкл] и 1.0 [вкл] (Read Only).

Both 0.0 and 1.0 may be returned by this property. This behaviour is different to that of many other random number generators which return a value less than but never exactly equal to 1.0.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { Color RandomColor() { return new Color(Random.value, Random.value, Random.value); } }