Exemple #1
0
        public void DrawBackground()
        {
            Rect canvasRect = GraphDrawEditor.Instance.CanvasRect;

            EditorTools.DrawBox(canvasRect, StyleSheet.Styles.gridBg);
            EditorTools.DrawBox(canvasRect, StyleSheet.Styles.gridBorder);
        }
Exemple #2
0
        public void DrawOutPortBg()
        {
            var outPortRect = new Rect(viewRect.xMin, viewRect.yMax - 4, viewRect.width, 12);

            EditorTools.DrawBox(outPortRect, StyleSheet.Styles.nodeOutPortBg);
        }