UnityEditor.AnimationClipInfoProperties.SetCurveName C# (CSharp) 메소드

SetCurveName() 공개 메소드

public SetCurveName ( int index, string name ) : void
index int
name string
리턴 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;
            }
        }