UnityEditor.ColorPresetLibrary.CreateDebugColors C# (CSharp) Method

CreateDebugColors() public method

public CreateDebugColors ( ) : void
return void
        public void CreateDebugColors()
        {
            for (int i = 0; i < 0x7d0; i++)
            {
                this.m_Presets.Add(new ColorPreset(new Color(Random.Range((float) 0.2f, (float) 1f), Random.Range((float) 0.2f, (float) 1f), Random.Range((float) 0.2f, (float) 1f), 1f), "Preset Color " + i));
            }
        }