In this step, we will create the finish point, which is the door in this case. We will also create a
Trigger Collider, which makes it so that the player can't end the game if he/she didn't collect our item; of course it's the key to our door.
Let's prepare and make sure that we have all the graphics that we need; go to the
Graphics folder in the
Project window, and make sure in our subfolder
Level, we have
key.png. Let's get start.
Here, we will create the object's
Door. Let's do this as follows:
M_Key, and set the following: