public Color GetCurveColor(SerializedProperty max) { int num = this.FindIndex(max); if ((num >= 0) && (num < this.m_AddedCurves.Count)) { return this.m_AddedCurves[num].m_Color; } return new Color(0.8f, 0.8f, 0.8f, 0.7f); }