randomPoison / game-jam-2019-prototype

Some experimentation with the SpatialOS Unity GDK
MIT License
0 stars 0 forks source link

Don't use Resources for prefabs #1

Open randomPoison opened 5 years ago

randomPoison commented 5 years ago

By default, the GDK's game object spawning logic loads prefabs from Resources. According to Unity's documentation, however, the best practices for Resources is to not use it 😬 Fortunately, we can setup custom spawning logic, so we can use any alternative kind of setup we'd like. We've already got a custom game object creator setup in EntityPipeline (though it still falls back on the default creation logic), so we can likely use that as a base.

randomPoison commented 5 years ago

This might be a case where we can experiment with Unity's new Addressable Assets.