Key is going to have a string the acts like an ID (108) and if the door (108) has the same ID opens the door
Picking Up the Key
When the player interacts with a key (Press E), it is added to the inventory.
Using the Key
When the player interacts with a locked door, the game checks if they have the matching key.
If they have the correct key:
The door unlocks.
The key is removed from the Player.
A sound effect plays (unlocking click).
If they don’t have the correct key:
The door remains locked.
A sound plays for the locked door
First Key:
Player hovers over the first key in the game it will display ("Press E to pick up key")
Text is anchor to the center and position is -30 Y, the font size is 30 in the GameplayUI.
Art:
The Key model is going to be a House Key to be able to determine that the Key is used around the Cabin.