Maze / Library /PackageCache /com.unity.visualscripting@1.8.0 /Runtime /VisualScripting.Flow /Framework /Events /GlobalEventUnit.cs
| 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; | |
| } | |
| } | |
| } | |