UnityEditor.AnimationClipInfoProperties.GetCurveName C# (CSharp) Method

GetCurveName() public method

public GetCurveName ( int index ) : string
index int
return string
        public string GetCurveName(int index)
        {
            string stringValue = "";
            SerializedProperty property = this.Get("curves");
            if ((property != null) && property.isArray)
            {
                stringValue = property.GetArrayElementAtIndex(index).FindPropertyRelative("name").stringValue;
            }
            return stringValue;
        }