From 09ca328ebd528df67fc83e817c85d0491961d005 Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Thu, 25 Jun 2026 12:51:51 +0900 Subject: [PATCH] chore: compile warning --- .../Demo/Cartoon FX & War FX Demo/CFX_Demo_With_UIParticle.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Demo/Cartoon FX & War FX Demo/CFX_Demo_With_UIParticle.cs b/Assets/Demo/Cartoon FX & War FX Demo/CFX_Demo_With_UIParticle.cs index c5f84ee..14412d3 100644 --- a/Assets/Demo/Cartoon FX & War FX Demo/CFX_Demo_With_UIParticle.cs +++ b/Assets/Demo/Cartoon FX & War FX Demo/CFX_Demo_With_UIParticle.cs @@ -80,8 +80,8 @@ namespace Coffee.UIExtensions.Demo .SelectMany(x => x.GetTypes()) .FirstOrDefault(x => x.Name == typeName); -#if UNITY_2023_2_OR_NEWER - return type == null ? null : FindFirstObjectByType(type); +#if UNITY_2023_1_OR_NEWER + return type == null ? null : FindAnyObjectByType(type, FindObjectsInactive.Include); #else return type == null ? null : FindObjectOfType(type); #endif