Sending Complex Data Structures From React To Unity #267
Unanswered
hedgehoghash
asked this question in
Question and Answer
Replies: 1 comment
-
Hi Tommy. Unity only allows a set number of types to be used as parameters when sending messages back to Unity. So indeed, JSON would be the best approach. |
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.
-
Is there a way to send a complex data type other than a string, number, or boolean from React to Unity? Is the best way to do this sending a JSON string from React to Unity and then Unity would deserialize that JSON into a class?
Beta Was this translation helpful? Give feedback.
All reactions