Exemple #1
0
    //public static Rect TitleRect=new Rect(0,0,100,20);


    public void Title(string title)
    {
        ViewLayout.BeginV();
        var rect = NodeRect.LayoutV(15);

        GUI.Label(rect, title);
    }
    protected override void RightShow(Rect rect)
    {
        ViewLayout.BeginV();
        GUI.Label(rect.LayoutV(15), "AI");
        aiIndex = EditorGUI.Popup(rect.LayoutV(15), aiIndex, AInames);
        if (GUI.Button(rect.LayoutV(20), "load"))
        {
            ParseNode();
        }

        //GUI.Button(rect.GetRect(new Rect(0,0,rect.width,50)),"load");
    }