UnityEditor.ModelImporterClipEditor.DrawClipElement C# (CSharp) Method

DrawClipElement() private method

private DrawClipElement ( Rect rect, int index, bool selected, bool focused ) : void
rect UnityEngine.Rect
index int
selected bool
focused bool
return void
        private void DrawClipElement(Rect rect, int index, bool selected, bool focused)
        {
            AnimationClipInfoProperties properties = this.m_ClipList.list[index] as AnimationClipInfoProperties;
            rect.xMax -= 90f;
            GUI.Label(rect, properties.name, EditorStyles.label);
            rect.x = rect.xMax;
            rect.width = 45f;
            GUI.Label(rect, properties.firstFrame.ToString("0.0"), styles.numberStyle);
            rect.x = rect.xMax;
            GUI.Label(rect, properties.lastFrame.ToString("0.0"), styles.numberStyle);
        }