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 c0a8e322b1
commit de80249552
7 changed files with 133 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ namespace Coffee.UIParticleInternal
public static Func<string, Shader> onShaderFind = Shader.Find;
#if UNITY_EDITOR
#if UNITY_EDITOR && UNITY_2019_3_OR_NEWER
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
public static void Clear()
{