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.
|
|
|
|
using System;
|
|
|
|
|
using TNodeCore.Attribute;
|
|
|
|
|
using TNodeCore.Attribute.Ports;
|
|
|
|
|
using TNodeCore.RuntimeCache;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace TNodeCore.Models{
|
|
|
|
|
[Serializable]
|
|
|
|
|
[InternalModel]
|
|
|
|
|
public class BlackboardDragNodeData:NodeData{
|
|
|
|
|
public string blackDragData;
|
|
|
|
|
[SerializeReference]
|
|
|
|
|
public BlackboardData blackboardData;
|
|
|
|
|
|
|
|
|
|
[Output("",PortNameHandling.MemberType,TypeHandling.Implemented)]
|
|
|
|
|
public object Value => blackboardData.GetValue(blackDragData);
|
|
|
|
|
|
|
|
|
|
public BlackboardDragNodeData(){
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|