Level Design Using Assets from Filebase!
Objective: Create a Floor with assets from Filebase!
Now that we have learned how to navigate Filebase, and/or the Unity Asset Store, we can take those assets and create an environment. For me, I like to build from the ground up, so let’s start with a floor.
Choose the asset you want to use and place it into your scene.
Now we can take this one piece and duplicate it (CTRL + D) and place it next to it until we have a basic layout.
From here we can add some different floor pieces to give some variety.
Now this works, however, it looks boring. We need to add more variety to this pattern.
This is starting to look great, but we can take things a little further using prefabs. We can take a floor piece that we want to customize. I’m going to take that piece and add another asset to it.
When you have made all your customizations you will then turn it into a prefab. In your project view, for organizational purposes, I recommend creating a folder to hold all your prefabs.
To turn your object into a prefab, drag it from the hierarchy into your prefab folder. Now you can drop as many of that object that you could possibly want into your project. I’m going to replace certain floor pieces with this new prefab.
An easy way to replace currently placed floor pieces with your new prefab floor piece, drag it into the piece you want to change. This will give your prefab the transform values of the floor piece. Drag the prefab out of the floor piece and delete the floor piece.
Now you can replace all the floor pieces you would like.
A benefit of using prefabs is if you want to adjust all of the same prefab you can. Open the prefab and after you made your adjustments upon closing the prefab you will see the changes have occurred on all of the instances of that prefab.
Now you know how to take your assets, create prefabs, and use those to create your environment. Don’t be afraid to experiment with your own assets and prefabs and I’ll see you in the next tutorial!