Unit of Work Pattern in Unity

Опубликовано: 02 Октябрь 2024
на канале: Infallible Code
49,581
2.1k

Sign up for the Level 2 Game Dev Newsletter: http://eepurl.com/gGb8eP
Download the project at   / project-unit-of-60029495  

Data concurrency and data access bottlenecks are common problems that arise when dealing with persistence. In this video I'll show you how the Unit of Work design pattern (with the repository pattern) can solve both of these issues in your Unity project.

00:00 Introduction
01:24 The Repository Pattern
02:24 Sign up for the Level_2 Game Dev Newsletter
02:50 Repositories in Unity
04:48 Player Shop Example
06:23 Problems with Persistence
08:56 Unit of Work
10:38 Conclusion

💬 Join Our Community
Discord:   / discord  
Patreon:   / infalliblecode  
Newsletter: http://eepurl.com/gGb8eP

❤️ My Favorite Unity Assets *
Odin Inspector and Serializer: https://assetstore.unity.com/packages...
Editor Console Pro: https://assetstore.unity.com/packages...
Rainbow Folders 2: https://assetstore.unity.com/packages...
Peek: https://assetstore.unity.com/packages...
Project Search & Replace: https://assetstore.unity.com/packages...

⚡ Unity 3D Plus: http://prf.hn/click/camref:1100l3e8M/...
⚡ Unity 3D Pro: http://prf.hn/click/camref:1100l3e8M/...

👋 Contact me directly at [email protected]

* Disclosure: These are affiliate links, which means I'll receive a commission if you use them to make a purchase.

👋 Contact me directly at [email protected]

* Disclosure: These are affiliate links, which means I'll receive a commission if you use them to make a purchase.