fix: there is a compilation error in Unity 2019.2 or earlier

close #407
This commit is contained in:
mob-sakai
2026-06-24 11:04:23 +09:00
parent 25b2e3b632
commit c327632e1e
7 changed files with 133 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ namespace Coffee.UIParticleInternal
UIExtraCallbacks.onLateAfterCanvasRebuild += ClearAllCache;
}
#if UNITY_EDITOR
#if UNITY_EDITOR && UNITY_2019_3_OR_NEWER
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
private static void Clear()
{