Question - How use flatsharp with Unity #294
Replies: 4 comments 2 replies
-
Hello! Thanks for reaching out. The same schema should work for both .NET Core and Unity. However, to use the schema in Unity, you may need to take some special steps. I've seen people use FlatSharp with unity successfully with the following patterns:
There is no |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
No, I don't think anyone has done that. Anything you could contribute to streamlining Unity onboarding would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
-
Hey, after some tests I got some information, which can help other people. Process to unity integration:
I do not recommend a pre build script, because if the code is broken it will not be possible to update the schemas. |
Beta Was this translation helpful? Give feedback.
-
Hello, can you help me? How can i generate Schema for unity, can i use the same schema generated in .Net Core or generate for Unity? Is there a .unitypackage for Unity? It took me a while to know how to access the .serializer of the schemas, they are only generated when the "(fs_serializer)" is added to the tables, may.
table UpdatePlaceSchema (fs_serializer) { name: string; description: string; maxAvatars: int; }
Beta Was this translation helpful? Give feedback.
All reactions