Singularity/Library/PackageCache/com.unity.visualscripting@1.../Runtime/VisualScripting.Flow/Framework/Events/ManualEventUnit.cs

15 lines
352 B
C#
Raw Normal View History

2024-05-06 14:45:45 -04:00
namespace Unity.VisualScripting
{
public abstract class ManualEventUnit<TArgs> : EventUnit<TArgs>
{
protected sealed override bool register => false;
protected abstract string hookName { get; }
public sealed override EventHook GetHook(GraphReference reference)
{
return hookName;
}
}
}