polygone/Library/PackageCache/com.unity.visualscripting@1.5.2/Runtime/VisualScripting.Flow/Framework/Events/GlobalEventUnit.cs
2021-08-02 05:44:37 -04:00

14 lines
374 B
C#

namespace Unity.VisualScripting
{
public abstract class GlobalEventUnit<TArgs> : EventUnit<TArgs>
{
protected override bool register => true;
protected virtual string hookName => throw new InvalidImplementationException();
public override EventHook GetHook(GraphReference reference)
{
return hookName;
}
}
}