-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from Akeit0/alchemy-serialize-with-inheritance
Add : Support AlchemySerialization with generics and inheritance
- Loading branch information
Showing
8 changed files
with
152 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
19 changes: 0 additions & 19 deletions
19
Alchemy/Assets/Alchemy/Generator/Alchemy.SourceGenerator.dll.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using Alchemy.Serialization; | ||
using UnityEngine; | ||
|
||
namespace Test | ||
{ | ||
[ShowAlchemySerializationData] | ||
[AlchemySerialize] | ||
public partial class InheritedSerializeTest : InheritedSerializeTestBase<string> | ||
{ | ||
[AlchemySerializeField, NonSerialized] int? nullableInt; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Alchemy.Serialization; | ||
using UnityEngine; | ||
|
||
[ShowAlchemySerializationData] | ||
[AlchemySerialize] | ||
public partial class InheritedSerializeTestBase<T> : MonoBehaviour | ||
{ | ||
[AlchemySerializeField, NonSerialized] HashSet<T> set; | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.