Now that we've got a reusable barrier prefab, let's build out the rest of the level to match the rough sketch that we had at the beginning of the section:
- Duplicate the Barrier_01 prefab three times and place each one in a different corner of the arena.
- Create a new empty GameObject and name it Raised_Platform.
- Create a Cube and scale it to form a platform.
- Create a Plane and scale it into a ramp. Then, rotate and position it so that it connects the platform to the ground.
- Duplicate the ramp object by using command + D on a Mac, or Ctrl + D on Windows. Then, repeat the rotation and positioning steps.
- Repeat the previous step twice more, until you have four ramps in total leading to the platform:
You've now successfully white-boxed your first game level! Don't get too caught up in it yet, though—we're just getting started. All good games have items that players can pick up or...