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
Last updated