You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314 |
- namespace Unity.VisualScripting
- {
- public abstract class MachineEventUnit<TArgs> : EventUnit<TArgs>
- {
- protected sealed override bool register => true;
-
- public override EventHook GetHook(GraphReference reference)
- {
- return new EventHook(hookName, reference.machine);
- }
-
- protected virtual string hookName => throw new InvalidImplementationException($"Missing event hook for '{this}'.");
- }
- }
|