fix compile error on Unity 2021.1

mob-sakai 2023-08-18 15:08:49 +09:00
parent db28f171f7
commit f1d12c3b04
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
{
if (!self) return null;