Compare commits
1 Commits
3f2f12d2cf
...
f1d12c3b04
Author | SHA1 | Date |
---|---|---|
|
f1d12c3b04 |
|
@ -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
|
||||
{
|
||||
if (!self) return null;
|
||||
|
|
Loading…
Reference in New Issue