UnityEditor.DoubleCurve.IsSingleCurve C# (CSharp) Method

IsSingleCurve() public method

public IsSingleCurve ( ) : bool
return bool
        public bool IsSingleCurve()
        {
            return ((this.minCurve == null) || (this.minCurve.length == 0));
        }

Usage Example

 string GetEditorPrefBaseName()
 {
     return(PresetLibraryLocations.GetParticleCurveLibraryExtension(m_DoubleCurve.IsSingleCurve(), m_DoubleCurve.signedRange));
 }