From b7d437fe611e7e409989689f2b1f6067567488b9 Mon Sep 17 00:00:00 2001 From: sator-imaging <16752340+sator-imaging@users.noreply.github.com> Date: Tue, 26 Mar 2024 09:57:07 +0900 Subject: [PATCH] fix: no reason to limit Unity version --- Runtime/IsExternalInit.cs | 8 +------- package.json | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Runtime/IsExternalInit.cs b/Runtime/IsExternalInit.cs index 094190e..a001854 100644 --- a/Runtime/IsExternalInit.cs +++ b/Runtime/IsExternalInit.cs @@ -1,14 +1,8 @@ -#if false == UNITY_2022_1_OR_NEWER - // NOTE: to use record & init accessor in Unity 2021 // https://stackoverflow.com/questions/62648189/testing-c-sharp-9-0-in-vs2019-cs0518-isexternalinit-is-not-defined-or-imported namespace System.Runtime.CompilerServices { [ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)] - /*internal*/ class IsExternalInit - { - } + class IsExternalInit { } } - -#endif diff --git a/package.json b/package.json index f466a26..c6909d5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.sator-imaging.alt-source-generator", "displayName": "Alternative Source Generator for Unity", - "version": "3.0.0", + "version": "3.0.1", "unity": "2021.3", "description": "Ease-of-Use Source Generator Alternative for Unity.", "author": {