UnityEditor.ModelImporterClipEditor.TransferDefaultClipsToCustomClips C# (CSharp) Method

TransferDefaultClipsToCustomClips() private method

private TransferDefaultClipsToCustomClips ( ) : void
return void
        private void TransferDefaultClipsToCustomClips()
        {
            if (this.m_DefaultClipsSerializedObject != null)
            {
                if (base.serializedObject.FindProperty("m_ClipAnimations").arraySize != 0)
                {
                    Debug.LogError("Transferring default clips failed, target already has clips");
                }
                base.serializedObject.CopyFromSerializedProperty(this.m_ClipAnimations);
                this.m_ClipAnimations = base.serializedObject.FindProperty("m_ClipAnimations");
                this.m_DefaultClipsSerializedObject = null;
                this.PatchDefaultClipTakeNamesToSplitClipNames();
                this.SyncClipEditor();
            }
        }