You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-06-26 08:23:45 +00:00
chore: compile warning
This commit is contained in:
@@ -80,8 +80,8 @@ namespace Coffee.UIExtensions.Demo
|
|||||||
.SelectMany(x => x.GetTypes())
|
.SelectMany(x => x.GetTypes())
|
||||||
.FirstOrDefault(x => x.Name == typeName);
|
.FirstOrDefault(x => x.Name == typeName);
|
||||||
|
|
||||||
#if UNITY_2023_2_OR_NEWER
|
#if UNITY_2023_1_OR_NEWER
|
||||||
return type == null ? null : FindFirstObjectByType(type);
|
return type == null ? null : FindAnyObjectByType(type, FindObjectsInactive.Include);
|
||||||
#else
|
#else
|
||||||
return type == null ? null : FindObjectOfType(type);
|
return type == null ? null : FindObjectOfType(type);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user