Unity graph tool solution based on different implementation now focused on Unity.Experimental.Graphview
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
485 B

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using TNode.Models;
namespace TNode.Runtime{
public class RuntimeNode<T> where T:NodeData{
public T NodeData{ get; set; }
//Links related to runtime node,for fast access.only remember out links
public List<NodeLink> NodeLinks;
public void Process(){
var outputPorts = NodeLinks.Select(x => x.outPort.portName);
}
}
}