In this tutorial we're going to setup a Service Locator system to make it easy to register and locate services (eg. navigation) within our projects. As part of that we'll also setup support for a Standalone Singleton and apply the Service Locator to our Navigation interface.
🎞️ Chapters
00:00 Introduction
02:30 Singleton Cleanup
09:00 Creating our Standalone Singleton
18:45 Setting up our Service Locator
28:30 Generating a Service Address
32:45 Finding a Service (foundation)
37:30 Flushing pending queries
40:15 Finding a Service (core logic)
48:55 Applying to the Navigation Interface
📂 Grab the code:
Initial Code: https://github.com/GameDevEducation/U...
End of Video Code: https://github.com/GameDevEducation/U...
UPM Package: https://github.com/GameDevEducation/U...
Package Overview Video: • Hybrid GOAP AI in Unity (Package Over...
If you've got questions add a comment below or send them in for the next Q&A video
🤔 Send in your questions ➠ https://forms.gle/ToyvqPaBFvpFLtNbA
📁 The searchable video archive is at ➠ https://www.iainmcmanus.dev/gamedev-e...
Looking for other ways to get involved?
🟠 Support the channel on Patreon ➠ / iaintheindie
🟡 Get the code for all the projects on GitHub ➠ https://github.com/orgs/GameDevEducation
🟢 Check out my games on itch.io ➠ http://iaintheindie.itch.io/
🟣 Follow me on Twitter ➠ / iaintheindie
🎉 Thankyou to all of the Patrons 🎉
➔ Arman
➔ Kieran B
➔ Grant Coble-Neal
➔ John Kenneth Douglas
➔ Kasper Enwall
➔ Tylah Heil
➔ James McCarthy
➔ Travis Mosier
➔ Sam Orme
➔ Benjamin Russell
➔ Seriphis
➔ SiliconOrchid
➔ Callan Syratt
➔ Serj Tomas
#Unity #Tutorial #GameDev