feat: make Unity integration optional

This commit is contained in:
cneicy committed 2026-10-03 23:36:43 +08:00
1 parent a92c9d2cea
commit 240d24ba7a
27 files changed
+916 -69

No files matched your search

@@ -0,0 +1,12 @@
#if UNITY_5_3_OR_NEWER
using System;
namespace ShrinkEventBus
{
public interface IShrinkEventBusMainThreadDispatcher
{
bool IsMainThread { get; }
bool TryPost(Action action);
}
}
#endif