wuxianshengcong/Library/PackageCache/com.unity.visualscripting@1.9.4/Runtime/VisualScripting.Flow/Framework/Events/GlobalEventUnit.cs

15 lines
374 B
C#
Raw Normal View History

2024-12-30 12:56:27 +08:00
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;
}
}
}