You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to serialize and deserialize types where the type is not a compile time constant that can be using in a generic like <T>
In unity I can do this with JSON using this method overload:
var payloadType = Type.GetType(serializedSaveState.payloadType);
var saveStateData = JsonUtility.FromJson(serializedSaveState.payload, payloadType);
With Odin would it be possible to make a similar overload that takes in a Type instead of a generic method? Preferably for both Binary and Json formats.
The text was updated successfully, but these errors were encountered:
Hello, apologies if this is answered before:
I am looking to serialize and deserialize types where the type is not a compile time constant that can be using in a generic like <T>
In unity I can do this with JSON using this method overload:
With Odin would it be possible to make a similar overload that takes in a Type instead of a generic method? Preferably for both Binary and Json formats.
The text was updated successfully, but these errors were encountered: