예제 #1
0
        void DrawNodes(List <Node> nodes)
        {
            if (nodeRenderer == null)
            {
                nodeRenderer = new NodeRenderer();
            }

            int count = nodes.Count;

            for (int i = 0; i < count; i++)
            {
                if (nodes [i] != null)
                {
                    nodeRenderer.Draw(nodes [i], selectedNodes.Contains(nodes [i]));
                }
            }
        }
예제 #2
0
        void DrawNodes(List <Node> nodes)
        {
            if (nodeRenderer == null)
            {
                nodeRenderer = new NodeRenderer();
            }

            int count = nodes.Count;

            for (int i = 0; i < count; i++)
            {
                if (nodes[i] != null)
                {
                    nodeRenderer.Draw(nodes[i], nodes[i] == BTEditorManager.Manager.selectedNode);
                }
            }
        }
예제 #3
0
파일: View.cs 프로젝트: mbbarange/hivemind
        void DrawNodes(List<Node> nodes)
        {
            if (nodeRenderer == null) nodeRenderer = new NodeRenderer();

            int count = nodes.Count;
            for (int i = 0; i < count; i++) {
                if (nodes[i] != null) {
                    nodeRenderer.Draw (nodes[i], nodes[i] == BTEditorManager.Manager.selectedNode);
                }
            }
        }