UnityEditor.SerializedMinMaxGradient.Init C# (CSharp) Method

Init() private method

private Init ( SerializedModule m, string name ) : void
m SerializedModule
name string
return void
        private void Init(SerializedModule m, string name)
        {
            this.m_MaxGradient = m.GetProperty(name, "maxGradient");
            this.m_MinGradient = m.GetProperty(name, "minGradient");
            this.m_MaxColor = m.GetProperty(name, "maxColor");
            this.m_MinColor = m.GetProperty(name, "minColor");
            this.m_MinMaxState = m.GetProperty(name, "minMaxState");
            this.m_AllowColor = true;
            this.m_AllowGradient = true;
            this.m_AllowRandomBetweenTwoColors = true;
            this.m_AllowRandomBetweenTwoGradients = true;
            this.m_AllowRandomColor = false;
        }