update internal code

This commit is contained in:
mob-sakai
2026-06-08 13:27:27 +09:00
parent b740dd662d
commit 48b38ec34f
10 changed files with 31 additions and 49 deletions

View File

@@ -20,7 +20,7 @@ namespace Coffee.UIParticleInternal
{
public static T[] FindObjectsOfType<T>() where T : Object
{
#if UNITY_6000_5_OR_NEWER
#if UNITY_6000_4_OR_NEWER
return Object.FindObjectsByType<T>(FindObjectsInactive.Include);
#elif UNITY_2023_1_OR_NEWER
return Object.FindObjectsByType<T>(FindObjectsInactive.Include, FindObjectsSortMode.None);