From 0cc4de9740c6957e6bfdf3d2ac0072e896305f25 Mon Sep 17 00:00:00 2001 From: uurha Date: Thu, 29 Feb 2024 21:24:22 +0000 Subject: [PATCH] Merge pull request #61 from techno-dwarf-works/dev Update GetCollectionElementType --- Runtime/Extensions/TypeExtensions.cs | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Runtime/Extensions/TypeExtensions.cs b/Runtime/Extensions/TypeExtensions.cs index 00603e1..f666a0a 100644 --- a/Runtime/Extensions/TypeExtensions.cs +++ b/Runtime/Extensions/TypeExtensions.cs @@ -259,7 +259,7 @@ public static bool IsSubclassOfAnyRawGeneric(this Type self, IEnumerable g return false; } - public static Type GetElementType(this Type self) + public static Type GetCollectionElementType(this Type self) { if (self == null) { diff --git a/package.json b/package.json index dd8a90b..d3221f6 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "com.uurha.betterextensions", "displayName": "Better Extensions", - "version": "1.5.5", - "unity": "2020.1", + "version": "1.5.6", + "unity": "2021.3", "description": "Unity extensions, serialize extension, async extension, string extension and UI extensions", "dependencies": { "com.tdw.better.internal.core": "0.0.2"