Compare commits

...

1 Commits

Author SHA1 Message Date
mob-sakai f1d12c3b04 fix compile error on Unity 2021.1 2023-08-18 15:08:49 +09:00
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ namespace Coffee.UIParticleExtensions
} }
} }
#if !UNITY_2020_3_OR_NEWER #if !UNITY_2020_3_OR_NEWER || UNITY_2021_1
public static T GetComponentInParent<T>(this Component self, bool includeInactive) where T : Component public static T GetComponentInParent<T>(this Component self, bool includeInactive) where T : Component
{ {
if (!self) return null; if (!self) return null;