Net-Game/Library/PackageCache/com.unity.visualscripting@1b53f46e931b/Runtime/VisualScripting.Flow/Framework/Events/ManualEventUnit.cs
2025-03-28 08:33:16 -04:00

15 lines
352 B
C#

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;
}
}
}