UnityEditor.AssetStoreWindow.OnGUI C# (CSharp) Method

OnGUI() public method

public OnGUI ( ) : void
return void
        public void OnGUI()
        {
            Rect webViewRect = GUIClip.Unclip(new Rect(0f, 0f, base.position.width, base.position.height));
            if (this.webView == null)
            {
                this.InitWebView(webViewRect);
            }
            if (this.m_RepeatedShow-- > 0)
            {
                this.Refresh();
            }
            if (Event.current.type == EventType.Layout)
            {
                this.webView.SetSizeAndPosition((int) webViewRect.x, (int) webViewRect.y, (int) webViewRect.width, (int) webViewRect.height);
                if (this.m_CurrentSkin != EditorGUIUtility.skinIndex)
                {
                    this.m_CurrentSkin = EditorGUIUtility.skinIndex;
                    this.InvokeJSMethod("document.AssetStore", "refreshSkinIndex", new object[0]);
                }
                this.UpdateDockStatusIfNeeded();
            }
        }