EditorPanel.EditorPanel C# (CSharp) Method

EditorPanel() public method

public EditorPanel ( IDE, idething ) : UnityEngine
idething IDE,
return UnityEngine
    public EditorPanel(IDE idething)
    {
        ide = idething;
        //backgroundRect = new Rectangle(0,0,Screen.width*3/4,Screen.height);
        // half screen, on right
        //backgroundRect = new Rectangle(Screen.width*1/2, 0, Screen.width*1/2, Screen.height*4/5);
        backgroundRect = new Rectangle(Screen.width*3/8, 0, Screen.width*5/8, Screen.height*4/5);
        textAreaRect = new Rectangle();
        setTextAreaRect();
        setScrollDims();
    }