
i added basic map generation to my game(temporarily) #unity #unity2d #gamedev
47
3________
to create a random map, i declared 5 variables prefab array, x, y, width and height; i made a for loop to randomly create a prefab from the prefab array in the specified range of world coordinates.
コメント