I just discovered that unity that doesn’t support arrays within arrays, a feature I really liked in flash for things like tilemaps etc.
Is there a good alternative in unity?
What I want to do is creating an obstacle spawnsystem for an infinite runner game, which should work like this
array = [[obstacle 1, time till next obstacle gets spawned],[obstacle 2, time till next obstacle gets spawned],[etc., etc.]]
then there should be a random selection between these obstacle arrays to have a nice mixture of a designed levels with a random factor in it.
If you have a good idea how to do this with unity, i’m all ears.