UnityEditor.ObjectSelector.LinePreview C# (CSharp) Method

LinePreview() private method

private LinePreview ( string s, Object o, EditorWrapper p ) : void
s string
o Object
p EditorWrapper
return void
        private void LinePreview(string s, Object o, EditorWrapper p)
        {
            if (this.m_ListArea.m_SelectedObjectIcon != null)
            {
                GUI.DrawTexture(new Rect(2f, (float) ((int) (this.m_TopSize + 2f)), 16f, 16f), this.m_ListArea.m_SelectedObjectIcon, ScaleMode.StretchToFill);
            }
            Rect position = new Rect(20f, this.m_TopSize + 1f, base.position.width - 22f, 18f);
            if (EditorGUIUtility.isProSkin)
            {
                EditorGUI.DropShadowLabel(position, s, this.m_Styles.smallStatus);
            }
            else
            {
                GUI.Label(position, s, this.m_Styles.smallStatus);
            }
        }