This is the camera system script that controls the transformation of the main camera.
These scripts originate from the inventory system lessons, they control the storage and opening of doors, I slightly altered the script to delete the door and spawn an opened door.
These script is in charge of pausing the game, when the player presses P the time scale in unity is set to 0 thus freezing the game and making the pause menu canvas panel appear with all its buttons and functions.



































No comments:
Post a Comment