This question pertains to a type of platform/maze game (made with Unity 5) for typical smartphones (iOS/Android).
This game has following characteristics: 1. an upper limit (about 100) on the amount of rooms 2. 3-5 different "levels", each with a different amount of rooms 3. the shape and type of the "ground" in each room is dynamically generated 4. each room has some items that are dynamically placed in the room but are generated from a prefab
A rough idea on the rooms in this game is given in below screen shot.
In that image only the platforms (black and white tiles) and the ground (light brown) would be shaped by an algorithm. The other objects shown in the image are prefabs that would be located somewhere in the room by an algorithm.
But considering that this game would not exactly be an infinite runner, and since it should run on smart phones, would it be better from performance perspective, to create 100 hard coded rooms instead?