Beispiel #1
0
    public override void DrawPreview(Rect rect)
    {
        //update preview displays
        _selectdisplay.selected      = _preview.secondaryCount;
        _selectdisplay.superselected = _preview.secondarySuper;

        rect = VxlGUI.GetPaddedRect(rect, VxlGUI.MED_PAD);
        float width = Mathf.Min(200, rect.width / 2f);

        _selectdisplay.DrawGUI(VxlGUI.GetAboveRightElement(rect, 0, width, 0, rect.height / 2f));
    }