Patch Notes - V1.2
V1.2 - May2024 (CURRENT)
Added brand new chest example with upper rotating lid
Added brand new chest of drawer example with sliding drawers
New UI prompt when key is collected and name is displayed
Added a new UI prompt when the door is unlocked
Added a brand new queue system for notifications that appear together, meaning they won't be missed if they overlay
Added the ability to select X, Y or Z axis for opening doors
New Sound Effects
Added 3 new chest effects for opening and closing
Added 10 new wooden drawer effects for opening and closing
UI Updates:
Added Horizontal layout group to Interaction Prompt UI, so you can show and hide parts that might be useful for your game
You can now fade the inventory opening and closing
Reordered Text Prompt canvas to render on top of the inventory panel
DoorUIManager
Optimised ShowInteraction options method to remove if-else logic
Added new ShowIcon, show prompt and show interaction name method for connection to DoorItem update
You can control the speed at which the inventory fades from this script
Renamed lockeddoortext to notification to be more generic
Added new pooling logic for inventory slots to avoid instantiating and destroying continuously
Refined fading logic to make sure the code is reused across inventory opening and notifications appearing
DoorItem
You can disable the Icon, Key Prompt Text and interaction name seperately
Renamed enum to Door or Drawer to make it more easily understood
DoorInteractable:
Added a brand new variable to select what angle you want to rotate the door around, giving more flexibility
Split the code to make it more readable by creating sperate methods for HandleDoorRotation and HandleDrawerMovement, to keep it away from the update method
Refined the update method to have a smaller switch/case statement for readability
Added a new method for RotateTowards to optimise double usage of Slerp and make it more readable
Split the HandleDrawerMovement and MoveTowards for drawer movement for splitting the logic
V1.1 - June 2023
Created new DoorInteractor script for raycasting
Removed ButtonRaycastDoorScript and merged into DoorController
Added 3 brand new PBR doors to the scene
Added a Set of PBR keys to the scene
Added PBR drawers and lockers
Added new DoorAudioManager script
Created a delay method for delaying audio effects
Created a new DoorItem script to manage all doors
Created a new UI manager to maintain all UI elements
Refactored the DoorInteractable
Added new scriptablesobjects for sounds
Refined functionality with less code
Created a brand new custom inspector for this script
Added code to open & close the door with interpolation rather than animations
Added custom functionality for unlocking doors with keys
Added functionality for planks to block usage of a door
Created an Inventory System for collecting keys
Created set of icons for collected keys
Added custom inventory UI for visuals
Created prefab for inventory slots for easy usability
Created ScriptableObjects for Keys
Added UI for removing keys
Added new functionality for locking of the door
Added custom sound effects when it is locked
Added custom UI text for UI locking with fades
Created a KeyCollectable script for collecting keys
Added key pickup sound effects
Added a locker example to the scene
Lockers act like normal doors and can be locked
Added new sound effects for opening locker doors
Added custom drawer functionality
You can now spawn objects within drawers with the provided event
Added PBR drawers to the scene
Can now open and close these drawers
Lock drawer functionality
Added sound effects for opening drawers
V1.0 - April 2021
Initial Release
Last updated