Replies: 1 comment
-
ah, I see. dotnet built-in collections are all [System.Serializable]. Might need to find another way to mark serializable custom collection implementation then. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Regarding these lines in static method
IsTypeSerializable
:Tri-Inspector/Editor/Utilities/TriUnitySerializationUtilities.cs
Lines 101 to 109 in 31f9a27
I wonder what was the reason for IEnumerable to be explictly marked as not serializable regardless whether the class / struct is
[System.Serializable]
This kinda blocks some custom serializable collections that implements
IList
,IDictionary
,ISet
andICollection
from showing up in the inspector.Beta Was this translation helpful? Give feedback.
All reactions