Offers game designers an intuitive way to express ideas and realize game prototypes without dependencing on programming.
Based on Unity's GraphView technology Simple and powerful C# node API to create new nodes and custom views.
using System;
using GraphProcessor;
using UnityEngine;
[Serializable, NodeMenuItem("Gameobject/Has Tag")]
public class CompareTagNode : HlvsDataNode
{
public override string name => "Has Tag";
[Input("Object")]
public GameObject target;
[Input("Tag")]
public string tag;
[Output("Has Tag")]
public bool hasTag;
public override ProcessingStatus Evaluate()
{
hasTag = target && target.CompareTag(tag);
return ProcessingStatus.Finished;
}
}
This project requires the IKT Formula Parser in order to work, which is not provided by this repository. Instead, users will have to buy it from the Unity Asset Store.