Exemplo n.º 1
0
 public override void GetConnections(NodeData data)
 {
     foreach (var node in Connections)
     {
         data.AddConnection(node.Name, node.Node);
     }
 }
Exemplo n.º 2
0
        public override void GetConnections(NodeData data)
        {
            foreach (var item in Items)
            {
                data.AddConnection(nameof(Items), item.Id, item.OnSelected);
            }

            base.GetConnections(data);
        }
Exemplo n.º 3
0
        public override void GetConnections(NodeData data)
        {
            foreach (var button in Buttons)
            {
                data.AddConnection(nameof(Buttons), button.Type == InputNodeButton.ButtonType.Key ? button.Key.ToString() : button.Name, button.OnSelected);
            }

            base.GetConnections(data);
        }