2.5D Certification: Creating a modular prefab for the platforms
The first item in the certification is to make modular prefab for the platforms. Prefabs are very useful to re-use items that have already been created. It can also be used as a template where updating the template updates all instances using the prefab.
As of now, I have a bridge, a platform and a platform with a ledge:
There’s no behavior for the bridge and platform. But for the platform with a ledge it has additional components such as the grab position collider, climb and stand position.
I added an Icon to easily see those three components.
Then finally, to create a prefab, I just dragged them in a project folder:
Bow, I can easily reuse them in the scene:
Here’s what it looks like in action.