Opening & Locking DOOR SYSTEM In Unity URP (Keys, Inventory, Sounds Tutorial)

Channel:
Subscribers:
125,000
Published on ● Video Link: https://www.youtube.com/watch?v=xEvGKyE9VL8



Duration: 0:00
1,470 views
84


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 Packhttps://www.patreon.com/posts/118288318ย ย 
โžก ๏ธ Full Projehttps://www.patreon.com/posts/11828862323ย ย 

๐Ÿ”ฅ Free Assets:
โžก ๏ธ Classic Door Interior https://tinyurl.com/3pyk5s78yk5s78
โžก ๏ธ Key https://tinyurl.com/3ej2awwx3ej2awwx
โžก ๏ธ Pathttps://tinyurl.com/yjbrxhv4m/yjbrxhv4
โžก ๏ธ Door Small https://tinyurl.com/7u7wedc6com/7u7wedc6

๐Ÿ”ฅ https://bit.ly/UnitySalesHubnitySalesHub

โžก ๏ธ Playing and Creating Animations: ย ย ย โ€ขย Creatingย SIMPLEย Animationsย inย Unityย (...ย ย 
โžก ๏ธ Creating a Crosshair UI: ย ย ย โ€ขย Creatingย aย Crosshairย inย Unityย [UIย Tut...ย ย 
โžก ๏ธ Ultimate Guide to Unity Audio: ย ย ย โ€ขย Ultimateย Unityย Audioย Tutorialย |ย Stepย ...ย ย 

ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท

๐ŸŽ Get OVER 225+ scripts & projects on my PATREhttp://bit.ly/SpeedTutorPatreonly/SpeedTutorPhttps://tinyurl.com/STPatreonAssetsListom/STPatreonAssetsList

๐Ÿ’ฐ BIG DISCOUNTS on my website, fops://www.speed-tutor.com

ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท

โžก ๏ธ Purchase Lehttp://tinyurl.com/LeftAlone2024/tinyurl.com/LeftAlone2024
โžก ๏ธ Wishlist Lehttps://tinyurl.com/LeftAloneRebirthtinyurl.com/LeftAloneRebirthttps://bit.ly/STUnityStorePuzzlePackst.ly/STUnityStorePuzzlePackhttps://bit.ly/UnitySalesHubhttps://bit.ly/Uhttps://bit.ly/UnitySalesHub https://bit.ly/UnitySalesHub
๐Ÿ•น ๏ธhttps://tinyurl.com/2c885xp7: https://tinyurl.com/2chttps://bit.ly/UnityQuickStartBundle://bit.ly/UnityQuickStartBundle
๐Ÿ•น ๏ธ Weeklhttps://bit.ly/WeeklyPublisherSaletps://bit.ly/WeeklyPublisherhttps://bit.ly/HumbleBundleDealshttps://bit.ly/HumbleBundleDeals

๐Ÿ”ฅ LEARTES ENVIRONMENT BUNDLES:
๐Ÿ•น ๏ธ Unity Black Friday Leartes Ehttps://gumroad.com/a/813714451/jdsttx://gumroad.com/a/813714451/jdsttx
๐Ÿ•น ๏ธ Unity Hyperghttps://gumroad.com/a/813714451/uhewups://gumroad.com/a/813714451/uhewu
๐Ÿ•น ๏ธ Unity Gigavagahttps://gumroad.com/a/813714451/eheaqtps://gumroad.com/a/813714451/ehhttps://fas.st/t/HYxySc2q BUNDLES: https://fas.shttps://fas.st/t/HYxySc2qDev Deals: https://fas.st/t/HYxhttps://bit.ly/SyntyLowPolyAssetss: https://bit.ly/Syhttps://bit.ly/UnityProDeals Deals: https://bhttps://bit.ly/TopcashbackReferral: https://bit.ly/TopcashbackReferral

ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท https://discord.gg/vnhWy6Rt with me:
๐Ÿ’ฌ |https://twitter.com/SpeedTutorscordย ย 
๐Ÿฆ | Twitthttps://www.facebook.com/Speedtutorukย ย 
๐Ÿ“ฑ | Facebo| Website: http://www.shttp://www.paypal.me/speedtutorion: 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 / Mohttps://bit.ly/STUnityStorePuzzlePackshttps://bit.ly/STUnityStoscounts: https://www.speed-tutor.com/

โฌ‡ ๏ธ SpeedTutor Best Sehttps://bit.ly/STAdventurePuzzleKitt: https://bit.ly/STAdvenhttps://bit.ly/STNoteLetterSystemem: https://bit.ly/https://bit.ly/STExamineSystemstem: https://bit.https://bit.ly/STKeypadSystemstem: 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




Other Videos By SpeedTutor


2025-01-2111 Unity Assets for ONLY $1!!! (Unity's Jan 25 Mega-Bundle)
2025-01-20BE FAST FREE Tool To Speed UP YOUR UNITY LIFE! #speedtutor #unity #gamedev
2025-01-14How To Get REALISTIC GRAPHICS in UNITY 6 URP (ArchViz Vol.10 Tutorial)
2025-01-13BE FAST FREE RPG FPS Character #speedtutor #unity #gamedev
2025-01-09FREE ANIMATED Text Effects for Unity (TextMeshPro Tutorial 2025)
2025-01-0770 FREE Unity Assets (January 2025 - Asset Store)
2025-01-06BE FAST FREE Unity Zelda VFX Tilt Shift #speedtutor #unity #gamedev
2025-01-0212 REALISTIC UNITY ENVIRONMENTS = $2 EACH (Hivemind Humble Bundle)
2024-12-31What Made Unity GREAT IN 2024?!
2024-12-30BE FAST FREE 200 Epic Unity Character Animations! #speedtutor #unity #gamedev
2024-12-27Opening & Locking DOOR SYSTEM In Unity URP (Keys, Inventory, Sounds Tutorial)
2024-12-24How to Limit FPS in Unity Editor (Unity Beginner Tutorial)
2024-12-205 AMAZING Unity Assets To Start Your NEW YEAR! (Unity New Year Sale 2024)
2024-12-16BE FAST FREE Unity Boss/NPC Bull Tank Character! #speedtutor #unity #gamedev
2024-12-12Unbelievable $1 Assets! (Unity's Dec 24 Mega-Bundle)
2024-12-1090+ AWESOME FREE Unity Assets (December 2024 - Asset Store)
2024-12-09BE FAST FREE Unity Loot Assets! #speedtutor #unity #gamedev
2024-12-05Can BUILD PROFILES Help You In Unity 6 (Build Profiles Tutorial)
2024-12-02BE FAST FREE $200 Action Unity Asset! #speedtutor #unity #gamedev
2024-11-28Massive $5000 UNITY BLACK FRIDAY Deals 2024!
2024-11-26Remove SPLASH SCREEN In Unity 6 (Unity Tutorial)