UnityEditor.ModelImporterClipEditor.AnimationClipGUI C# (CSharp) Method

AnimationClipGUI() private method

private AnimationClipGUI ( ) : void
return void
        private void AnimationClipGUI()
        {
            string stringValue = this.m_AnimationImportErrors.stringValue;
            string message = this.m_AnimationImportWarnings.stringValue;
            string str3 = this.m_AnimationRetargetingWarnings.stringValue;
            if (stringValue.Length > 0)
            {
                EditorGUILayout.HelpBox("Error(s) found while importing animation this file. Open \"Import Messages\" foldout below for more details", MessageType.Error);
            }
            else if (message.Length > 0)
            {
                EditorGUILayout.HelpBox("Warning(s) found while importing this animation file. Open \"Import Messages\" foldout below for more details", MessageType.Warning);
            }
            this.AnimationSettings();
            Profiler.BeginSample("Clip inspector");
            EditorGUILayout.Space();
            if (base.targets.Length == 1)
            {
                this.AnimationSplitTable();
            }
            else
            {
                GUILayout.Label(styles.clipMultiEditInfo, EditorStyles.helpBox, new GUILayoutOption[0]);
            }
            Profiler.EndSample();
            this.RootMotionNodeSettings();
            importMessageFoldout = EditorGUILayout.Foldout(importMessageFoldout, styles.ImportMessages);
            if (importMessageFoldout)
            {
                if (stringValue.Length > 0)
                {
                    EditorGUILayout.HelpBox(stringValue, MessageType.Error);
                }
                if (message.Length > 0)
                {
                    EditorGUILayout.HelpBox(message, MessageType.Warning);
                }
                if (this.animationType == ModelImporterAnimationType.Human)
                {
                    EditorGUILayout.PropertyField(this.m_AnimationDoRetargetingWarnings, styles.GenerateRetargetingWarnings, new GUILayoutOption[0]);
                    if (this.m_AnimationDoRetargetingWarnings.boolValue)
                    {
                        if (str3.Length > 0)
                        {
                            EditorGUILayout.HelpBox(str3, MessageType.Info);
                        }
                    }
                    else
                    {
                        EditorGUILayout.HelpBox("Retargeting Quality compares retargeted with original animation. It reports average and maximum position/orientation difference for body parts. It may slow down import time of this file.", MessageType.Info);
                    }
                }
            }
        }