예제 #1
0
        private void ConnectNodes(Port outputSocket, Port inputSocket)
        {
            var tempEdge = new Edge()
            {
                output = outputSocket,
                input  = inputSocket
            };

            tempEdge?.input.Connect(tempEdge);
            tempEdge?.output.Connect(tempEdge);
            graph.Add(tempEdge);
        }
예제 #2
0
        private void CreateBlackBoard()
        {
            var blackboard = new Blackboard(graph);

            blackboard.Add(new BlackboardSection {
                title = "Dialogue Properties"
            });
            blackboard.addItemRequested = BuildBlackboardMenu;

            blackboard.SetPosition(new Rect(10, 30, 200, 300));
            graph.Add(blackboard);
        }
예제 #3
0
        private void GenerateBlackBoard()
        {
            var blackboard = new Blackboard(graph);

            blackboard.Add(new BlackboardSection {
                title = "Exposed Variables"
            });
            blackboard.addItemRequested = board =>
            {
            };

            blackboard.SetPosition(new Rect(10, 30, 200, 300));
            graph.Add(blackboard);
            //graph.Blackboard = blackboard;
        }