From 55e3030dd23efcf78748b36d78baf24f0857730c Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Thu, 25 Jun 2026 04:04:35 +0900 Subject: [PATCH] chore: update internal --- .../Internal/Utilities/ShaderSampleImporter.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Packages/src/Runtime/Internal/Utilities/ShaderSampleImporter.cs b/Packages/src/Runtime/Internal/Utilities/ShaderSampleImporter.cs index 53b38f0..90d6103 100644 --- a/Packages/src/Runtime/Internal/Utilities/ShaderSampleImporter.cs +++ b/Packages/src/Runtime/Internal/Utilities/ShaderSampleImporter.cs @@ -16,19 +16,6 @@ namespace Coffee.UIEffectInternal private static readonly Dictionary s_SampleNames = new Dictionary(); private static readonly Dictionary s_ShaderAliases = new Dictionary(); -#if UNITY_2019_3_OR_NEWER - [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)] -#else - [InitializeOnLoadMethod] -#endif - private static void InitializeOnLoad() - { - s_Samples = null; - s_DeprecatedShaders = null; - s_SampleNames.Clear(); - s_ShaderAliases.Clear(); - } - public static void RegisterShaderSamples((string shaderName, string sampleName, string version)[] samples) { if (IsBatchOrBuilding()) return;