dojoengine / dojo.unity

Seamless integrate onchain game logic and state into your Unity game
https://book.dojoengine.org/client/sdk/unity
MIT License
26 stars 15 forks source link

Dynamic Model Addition #22

Closed brendaamareco closed 7 months ago

brendaamareco commented 8 months ago

Dynamic Model Addition

Issue

The manual process of dragging and dropping models into the WorldManager GameObject is time-consuming, especially when dealing with a large number of models. image

Solution

Now, SynchronizationMaster automatically discovers ModelInstance implementations within "Dojo/Runtime/Models" folder. These models are then dynamically added as components to a GameObject named "Models". image

Larkooo commented 7 months ago

lgtm! great pr :)