03 Export Data from Unity - project-SIMPLE/simple.toolchain GitHub Wiki
The Unity template allows you to export gameobjects from Unity to Gama from the Unity Editor.
Using this tool requires to follow 4 steps:
- First step: open the model « Plugins models/LinkToUnity/Models/Utilities/ImportGemetriesFromUnity.gaml ».
-
Second step: run the experiment LoadGeometriesFromUnity.
-
Third step: In Unity, "GAMA menu -> Export Geometries to GAMA", define the parameter and click on Export Geometries
- Fourth step: click « Ok » on the pop-up that appears and immediately add the player to the middleware. If you are too slow to add the player, it will be disconnected and the data will not be exported.