UnityEditor.AnimationClipInfoProperties.SetCurveName C# (CSharp) Method

SetCurveName() public method

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