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.
19 lines
578 B
19 lines
578 B
using System.Runtime.InteropServices;
|
|
using Newtonsoft.Json;
|
|
using TNode.Attribute.Ports;
|
|
|
|
namespace TNode.Models{
|
|
public class BlackDragNodeData<T>:NodeData{
|
|
[JsonIgnore]
|
|
private string _blackDragData;
|
|
[JsonIgnore]
|
|
private BlackboardData _blackboardData;
|
|
|
|
[Output] public T value => _blackboardData.GetValue<T>(_blackDragData);
|
|
public BlackDragNodeData(string blackDragData,BlackboardData blackboardData){
|
|
_blackDragData = blackDragData;
|
|
_blackboardData = blackboardData;
|
|
}
|
|
|
|
}
|
|
} |