Tutorial: How to create a justbuild.lol game in an hour! Part 3
Updated: Jun 3, 2018
Part 3 - Adding building capabilities
We don’t want just one ramp, we want a lot of them!!
So we need to make a file out of the Ramp, so we could duplicate it a lot of times in our game,
Drag the Ramp from the Hierarchy window to the project window
And delete the Ramp from the scene
Now it’s time for some coding, I already created the code, I commented it all, so even people with a little knowledge in programming could understand, download it from here, and drag it into the Project panel
Now select vThirdPersonController (our character) and drag the Building script to him,
And then drag the Ramp file to the Ramp Prefab slot, so the character would know to duplicate the Ramp that you created
Press play and have some fun!