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.

12 lines
360 B

using TNodeCore.Runtime.Attributes;
using TNodeCore.Runtime.Interfaces;
using UnityEngine;
namespace Samples{
[GraphUsage(typeof(HelloGraph))]
public class HandWriterConverter:PortTypeConversion<GameObject,Vector3>{
public override Vector3 Convert(GameObject tFrom){
return tFrom.gameObject.transform.position;
}
}
}