MENU

Fun & Interesting

DOOR & INVENTORY System In Unity 6 (URP Tutorial 2025)

SpeedTutor 2,543 2 weeks ago
Video Not Working? Fix It Now

Collect keys, add them to your inventory and open doors! You'll discover how to use raycasts to detect interactive objects, build scripts to manage doors and keys, and design lockable doors for your game. We'll dive into Scriptable Objects for creating keys, integrating them into an inventory system, and displaying them on-screen with a UI Manager script. Plus, tie it all together with immersive sound effects for opening, closing, locked doors, and key pickups. Perfect for enhancing your game's interactivity and player experience! 🔥Door Interaction Kit: https://tinyurl.com/yzsatrr5 🔥Patreon Links: ➡️Scripts Pack: https://www.patreon.com/posts/118288318 ➡️Full Project: https://www.patreon.com/posts/118288623 🔥Free Assets: ➡️Classic Door Interior Pack: https://tinyurl.com/3pyk5s78 ➡️Key & Lock: https://tinyurl.com/3ej2awwx ➡️Patio Table: https://tinyurl.com/yjbrxhv4 ➡️Door Small Sound Pack: https://tinyurl.com/7u7wedc6 🔥Unity Sale: https://bit.ly/UnitySalesHub ➡️Playing and Creating Animations: https://www.youtube.com/watch?v=gj9Eq3WJLJo ➡️Creating a Crosshair UI: https://www.youtube.com/watch?v=y9TaleFxoVg ➡️Ultimate Guide to Unity Audio: https://www.youtube.com/watch?v=YnIiMCnAf9E ························································································· 🎁 Get OVER 225+ scripts & projects on my PATREON: ➡️Main Link: http://bit.ly/SpeedTutorPatreon ➡️Full List: https://tinyurl.com/STPatreonAssetsList 💰BIG DISCOUNTS on my website, for my UNITY ASSETS: ➡️https://www.speed-tutor.com ························································································· ➡️Purchase Left Alone (2016) on Steam: http://tinyurl.com/LeftAlone2024 ➡️Wishlist Left Alone: Rebirth on Steam: https://tinyurl.com/LeftAloneRebirth 🔥SpeedTutor Unity Store: https://bit.ly/STUnityStorePuzzlePacks 🔥 INSANE UNITY SAVINGS: https://bit.ly/UnitySalesHub 🕹️Unity Sale: https://bit.ly/UnitySalesHub 🕹️Quick-Start Bundle: https://bit.ly/UnityQuickStartBundle 🕹️FREE Weekly Publisher Asset: https://bit.ly/WeeklyPublisherSale 🕹️Unity New Release Discount Sale: https://prf.hn/l/BdvEmg3 🔥 INSANE HUMBLE SAVINGS: https://bit.ly/HumbleBundleDeals 🕹️Humble Leartes Legendary Environments: https://tinyurl.com/mpa834dr 🕹️Best of Synty 2025: https://tinyurl.com/6j3scymp 🔥LEARTES ENVIRONMENT BUNDLES: 🕹️Unity 10 Environment Hypernova Bundle ($20 w/ Discount Code: "HN80"): https://gumroad.com/a/813714451/qozel 🕹️Unity 22 Environments Supernova Bundle (40$ w/ Discount Code "SN80"): https://gumroad.com/a/813714451/yompf 🔥SYNTY Discounts & SALES: https://bit.ly/SyntyLowPolyAssets 🔥Unity Pro Deals: https://bit.ly/UnityProDeals ························································································· ⭐ Connect with me: 💬| Discord: https://discord.gg/vnhWy6R 🐦| Twitter: https://twitter.com/SpeedTutor 📱 | Facebook: https://www.facebook.com/Speedtutoruk 🖥 | Website: http://www.speed-tutor.com 💝| Make a donation: http://www.paypal.me/speedtutor ························································································· 00:00 Intro 00:44 What FREE assets you can use 01:10 Scene Setup & Material Updating 02:53 Creating Raycast script to detect interactive objects 05:16 Creating DoorItem script to act as generic script for all interactive items & continuing with raycast 08:50 Adding logic to DoorItem script for interactive objects 09:36 Creating DoorInteractable & KeyCollectable scripts to use later 09:50 Continuing DoorItem script 12:15 Writing Door Opening/Closing Logic 16:31 Creating Key ScriptableObjects 19:05 Creating Key Inventory script 23:46 Creating Locking Door Mechanics 26:49 Creating UI Canvas & Prefabs 29:10 Creating UI Manager to Show Keys on-screen 32:38 Adding Sound Effects To Key Pickup 34:09 Adding Sound Effects For Door Opening / Closing ························································································· ⬇️ SpeedTutor Puzzle / Model / Particle Assets: 🧩Unity Store: https://bit.ly/STUnityStorePuzzlePacks 🧩My Website Discounts: https://www.speed-tutor.com/ ⬇️ SpeedTutor Best Selling Assets: 🧩Adventure Puzzle Kit: https://bit.ly/STAdventurePuzzleKit 🧩Note & Letter System: https://bit.ly/STNoteLetterSystem 🧩Examine System: https://bit.ly/STExamineSystem 🧩Keypad System: https://bit.ly/STKeypadSystem ······················································································· This post may contain affiliate links, which means I may receive a commission if you click a link and purchase something that I have recommended. Clicking these links won't cost you any money, they will help me fund my development, thank you so much! ······················································································· #SpeedTutor #Unity #DoorSystem

Comment