UnityEditor.ObjectSelector.InitIfNeeded C# (CSharp) Method

InitIfNeeded() private method

private InitIfNeeded ( ) : void
return void
        private void InitIfNeeded()
        {
            if (this.m_ListAreaState == null)
            {
                this.m_ListAreaState = new ObjectListAreaState();
            }
            if (this.m_ListArea == null)
            {
                this.m_ListArea = new ObjectListArea(this.m_ListAreaState, this, true);
                this.m_ListArea.allowDeselection = false;
                this.m_ListArea.allowDragging = false;
                this.m_ListArea.allowFocusRendering = false;
                this.m_ListArea.allowMultiSelect = false;
                this.m_ListArea.allowRenaming = false;
                this.m_ListArea.allowBuiltinResources = true;
                this.m_ListArea.repaintCallback = (Action) Delegate.Combine(this.m_ListArea.repaintCallback, new Action(this, (IntPtr) this.Repaint));
                this.m_ListArea.itemSelectedCallback = (Action<bool>) Delegate.Combine(this.m_ListArea.itemSelectedCallback, new Action<bool>(this.ListAreaItemSelectedCallback));
                this.m_ListArea.gridSize = this.m_StartGridSize.value;
                this.FilterSettingsChanged();
            }
        }