Exemplo n.º 1
0
    void OnEnable()
    {
        BrowserUtility.OnEnable();

        this.minSize = new Vector2(600, 300);
        initGUIStyle = false;

        if (position.width < this.minSize.x || position.height < this.minSize.y)
        {
            position = new Rect(position.x, position.y, this.minSize.x, this.minSize.y);
        }

        LoadSkin();
    }