feat: autoreg in runtime
This commit is contained in:
12 files changed
+357
-3
No files matched your search
+1
-2
@@ -9,9 +9,8 @@ namespace ShrinkEventBus
|
||||
{
|
||||
public static class EventBus
|
||||
{
|
||||
public static bool EnableDebugRecord { get; set; }
|
||||
|
||||
#if UNITY_EDITOR
|
||||
public static bool EnableDebugRecord { get; set; } = true;
|
||||
public static event Action<EventBase, string, string> OnEventTriggeredForEditor;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user