Skip to content

Commit

Permalink
fix: no reason to limit Unity version
Browse files Browse the repository at this point in the history
  • Loading branch information
sator-imaging committed Mar 26, 2024
1 parent 8ea31b3 commit b7d437f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions Runtime/IsExternalInit.cs
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit b7d437f

Please sign in to comment.