Level up your code with game programming patterns: Factory pattern | Tutorial

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



Duration: 7:00
42,351 views
1,300


In this video, you’ll learn about how to use the factory design pattern in your Unity project. This pattern can be used to build an interface for creating objects in a superclass, while allowing subclasses to alter the type of objects that will be created.

⭐ Learn more about programming design patterns this e-book: https://on.unity.com/41DAHsd

⭐ Watch the other videos part of the Game Programming Patterns series: https://on.unity.com/495xdB8

Timestamp:
[0:00] Intro
[0:20] Power-ups in a game level and the factory design pattern
[1:00] How the factory design pattern works
[2:23] Breakdown of the factory design pattern in action
[5:05] The example covered in the e-book
[5:24] Using a dictionary with the factory design pattern

#unity #unity3d #gameprogramming #unitygamedev #gamedev #gamedesign




Other Videos By Unity


2024-01-253 ways Racing Kingdom put the pedal to the metal | Unity
2024-01-16Level up your code with game programming design patterns: Object pool | Tutorial
2024-01-07Where’s that DAM asset? Bringing order to your content chaos | Unite 2023
2024-01-03Create better Editor and game interfaces faster with UI Toolkit  | Unite 2023
2023-12-26Building an immersive vampire experience in V Rising with Voice Chat (Vivox) | Unity
2023-12-25Publisher power: When and why to work with Supersonic | Unite 2023
2023-12-22Small screen, big impact: Unity for mobile games
2023-12-21Level up your code with game programming patterns: Model-view-presenter | Tutorial
2023-12-20Make a living from your passion: How to turn your game into a business | Unite 2023
2023-12-18Everything you need to know about Unity PolySpatial + visionOS | Unite 2023
2023-12-17Level up your code with game programming patterns: Factory pattern | Tutorial
2023-12-14Level up your code with game programming patterns: Command pattern | Tutorial
2023-12-14How Everguild builds successful multiplatform games | Unite 2023
2023-12-12Lighting and AI techniques for your 2D game | Unite 2023
2023-12-11Go behind the scenes with the SPACE INVADERS: World Defense team | Unite 2023
2023-12-10Prototype a 2D game level in 20 minutes with Unity Muse | Unite 2023
2023-12-08Behind the scenes of "Core Keeper"
2023-12-07The road ahead for game development with Unity | Unite 2023
2023-12-06Elevating your mixed reality with Presence Platform and Meta Quest 3 | Unite 2023
2023-12-06New AI-driven gameplay experiences powered by Unity Sentis | Unite 2023
2023-12-05Creating immersive games for the latest platforms – a roundtable  | Unite 2023



Tags:
Unity3d
Unity
Unity Technologies
Games
Game Development
Game Dev
Game Engine