A game about forced loneliness, made by TACStudios
1namespace Unity.VisualScripting
2{
3 public abstract class MachineEventUnit<TArgs> : EventUnit<TArgs>
4 {
5 protected sealed override bool register => true;
6
7 public override EventHook GetHook(GraphReference reference)
8 {
9 return new EventHook(hookName, reference.machine);
10 }
11
12 protected virtual string hookName => throw new InvalidImplementationException($"Missing event hook for '{this}'.");
13 }
14}