

If I had to do it again, I would write the JSON objects by hand to avoid writing and reading non-existent components. Therefore, due to lack of time, we decided to export all components for each entity. So for each object, they exported the information of all the components.Īs they used the serialization system of Unity, it was not possible to export a different number of components per entity. To do this, they have set up Serializable structures for each component allowing them to be exported in JSON. The first step was to export the components. Tool Scene Exporter in Unity Scene Exportation The tool is a Unity window allowing to select the objects not to be exported and to save the. The Unity scene export system has been implemented by William and Solange in their Tool Programming module.


For this, we had to set up a scene system that could be imported from Unity. So we develop the AerRacers project which you can find more details on my post-mortem.ĭuring this project, we decided to use Unity to design the level. Blog Importing Unity Scene into a C++ Engine Introduction Contextĭuring my third year of Game Programming at SAE, we were asked to create a game on a custom C++ engine that could be played on the Nintendo Switch.
