Game Dev Digest — Issue #139 - Design Patterns
Tags: gamedev, unity3d, csharp, news
Published: 2022-04-29 13:52:00

---
title:  Game Dev Digest — Issue #139 - Design Patterns
published: true
date: 2022-04-29 13:52:00 UTC
tags: gamedev,unity,csharp,news
canonical_url: https://gamedevdigest.com/digests/issue-139-design-patterns.html
series: Game Dev Digest - The Newsletter About Unity Game Dev
---

### Issue #139 - Design Patterns

*This article was originally published on [GameDevDigest.com](https://gamedevdigest.com/digests/issue-139-design-patterns.html)*

![Issue #139 - Design Patterns](https://gamedevdigest.com/assets/social-posts/issue-139.png)

Design patterns and more in this issue. Enjoy!

---

[**Strategy Pattern In Unity**](https://blog.devgenius.io/strategy-pattern-in-unity-b82065aaa969)  - The strategy pattern is all about encapsulating or wrapping up a behavior or algorithm in its own class. It has the added bonus of allowing behaviors or algorithms to be assigned at runtime!
[_blog.devgenius.io_](https://blog.devgenius.io/strategy-pattern-in-unity-b82065aaa969)

[**Refactoring Data stored in Unity Prefabs, Scenes and other Assets**](https://blog.gemserk.com/2022/04/24/refactoring-prefabs-and-unity-objects/)  - Our use case is when we want to store data in a different (hopefully better) way when there is already a lot of created content (prefabs, scenes, etc). Even if we want to manually do that, it is not easy to know, in terms of GameObjects and Scenes, where the data is used.
[_blog.gemserk.com_](https://blog.gemserk.com/2022/04/24/refactoring-prefabs-and-unity-objects/)

[**Async FSM using UniTask**](https://www.jussituomi.com/posts/async-fsm-unitask/)  - In this post I’m going through steps to implement an asynchronous finite-state machine (FSM) in Unity, using async/await library UniTask. In the end you’ll have a nice modular state machine with all the usual stuff you would expect to find in a FMS. We’ll also take a look at how we can run update loops independently of monobehaviours / gameobjects.
[_jussituomi.com_](https://www.jussituomi.com/posts/async-fsm-unitask/)

[**Try out our battle pass sample using Unity Gaming Services Use Cases**](https://blog.unity.com/games/try-out-our-battle-pass-sample-using-unity-gaming-services-use-cases)  - One of these samples is a battle pass — a seasonal reward tier system with a free track and a premium track. This article will explain how this sample works, and how you can implement it in your own game.
[_Unity_](https://blog.unity.com/games/try-out-our-battle-pass-sample-using-unity-gaming-services-use-cases)

[**Procedural Animations**](https://twitter.com/TheRujiK/status/969581641680195585)  - Here is a QUICK explanation for my procedural animations that several people asked for. Hope it helps!
[_RujiK @TheRujiK_](https://twitter.com/TheRujiK/status/969581641680195585)

[**Legends Of Learning**](https://www.legendsoflearning.com/)  - Online Educational Games For Teachers & Students. Over 2,000 fun, curriculum-aligned, math and science games created to engage students and assist teachers using hybrid learning, blended learning & distance learning models.
[_legendsoflearning.com_](https://www.legendsoflearning.com/)

[**Unity 2022.2.0 Alpha 11**](https://unity3d.com/unity/alpha/2022.2.0a11)  - Unity 2022.2.0 Alpha 11 has been released.
[_Unity_](https://unity3d.com/unity/alpha/2022.2.0a11)

## Videos

[![Unity Awards 2021 | Winners](https://gamedevdigest.com/assets/images/fc17c070804195df08886b1d1b8b8a4b.png)](https://www.youtube.com/watch?v=Vbrn76pEOHE)
[**Unity Awards 2021 | Winners**](https://www.youtube.com/watch?v=Vbrn76pEOHE)  - We've tallied up your votes, and are proud to announce the winners of the 2021 Unity Awards! A massive congratulations to all of our winners and finalists. Check out the [acceptance speeches](https://blog.unity.com/games/unity-awards-2021)
[_Unity_](https://www.youtube.com/watch?v=Vbrn76pEOHE)

[**How Video Game Economies are Designed**](https://www.youtube.com/watch?v=Zrf1cou_yVo)  - In this video, I’ll show you how a typical video game economy is designed - and how resources flow around the system. As we go, I’ll show you how these economic entities can be used to create interesting gameplay for the player.
[_Game Maker's Toolkit_](https://www.youtube.com/watch?v=Zrf1cou_yVo)

[**The AI of DOOM (1993) | AI and Games**](https://www.youtube.com/watch?v=owAxZPE9a0E)  - DOOM is one of the most important games of all time, and the AI behind it is just as impressive now as it was almost 30 years ago. In this 66(6)th episode, let's go and find out how it all works.
[_AI and Games_](https://www.youtube.com/watch?v=owAxZPE9a0E)

[**CHROMATIC ABERRATION Secrets at RUNTIME in Unity (Post Processing Tutorial)**](https://www.youtube.com/watch?app=desktop&amp;v=FZXhXvBwAus)  - Lets look at scripting CHROMATIC ABERRATION at runtime in Unity, we'll look at scripting UI events: Sliders, dropdowns, toggles and more. We'll look at changes the bloom post processing effect with in-depth C# code and various examples of how to make this work, whether you want to use this for settings, in-game actions and more!
[_SpeedTutor_](https://www.youtube.com/watch?app=desktop&amp;v=FZXhXvBwAus)

[**How to crate a wall painting shader in Unity 2021**](https://www.youtube.com/watch?app=desktop&amp;v=A6ykMaPqsXQ)  - Many sim games offer a wall or object painting mechanic as a way to customize your in game house.
[_Sunny Valley Studio_](https://www.youtube.com/watch?app=desktop&amp;v=A6ykMaPqsXQ)

[**RiderFlow For Unity by JetBrains -- Very Powerful & Very Free!**](https://www.youtube.com/watch?app=desktop&amp;v=-A5UjWClUAE)  - RiderFlow is a new tool for Unity developers, that makes it much easier to handle Unity scenes from JetBrains, the makers of IntelliJ IDEA, WebStorm, CLion and Rider IDEs. It gives you finding, bookmarking, code editing and refactoring tools in the Unity editor. We check all these functions out in action in the video. Oh, and it's free.
[_Gamefromscratch_](https://www.youtube.com/watch?app=desktop&amp;v=-A5UjWClUAE)

[**Add Random "Bored" Idle Animations to Your Character (Unity Tutorial)**](https://www.youtube.com/watch?v=OCd7terfNxk&amp;list=PLx7AKmQhxJFaj0IcdjGJzIq5KwrIfB1m9&amp;index=23)  - In this Unity game development tutorial we're going look at how we can add a bit more personality to a character, by playing random "Bored" animations after they’ve been left idle for a period of time.
[_Ketra Games_](https://www.youtube.com/watch?v=OCd7terfNxk&amp;list=PLx7AKmQhxJFaj0IcdjGJzIq5KwrIfB1m9&amp;index=23)

## Assets

[![Spring Sale!](https://gamedevdigest.com/assets/images/d8e36420-abbf-5a3d-8540-982dd1887841.jpeg)](https://assetstore.unity.com/?on_sale=true&amp;rows=96&amp;aid=1011l8NVc)
[**Spring Sale!**](https://assetstore.unity.com/?on_sale=true&amp;rows=96&amp;aid=1011l8NVc)  - Unity's annual Spring Sale begins on Monday April 11! More than 500 popular assets will be available at 50% off.

Some of our faves: [Mesh Baker](https://assetstore.unity.com/packages/tools/modeling/mesh-baker-5017?aid=1011l8NVc), [UModeler](https://assetstore.unity.com/packages/tools/modeling/umodeler-model-your-world-80868?aid=1011l8NVc), and [Epic Toon FX](https://assetstore.unity.com/packages/vfx/particles/epic-toon-fx-57772?aid=1011l8NVc).
LAST DAY OF THE SALE!
[_Unity_](https://assetstore.unity.com/?on_sale=true&amp;rows=96&amp;aid=1011l8NVc) **Affiliate**

[**PhaseJumpPro**](https://github.com/coinbump/PhaseJumpPro)  - Utility classes for making games with Unity. Modules included: Behavior Trees, Graphs, Valves, Commands, and many more design patterns.
[_coinbump_](https://github.com/coinbump/PhaseJumpPro) *Open Source*

[**Zinnia**](https://github.com/ExtendRealityLtd/Zinnia.Unity)  - A collection of design patterns for solving common problems.
[_ExtendRealityLtd_](https://github.com/ExtendRealityLtd/Zinnia.Unity) *Open Source*

[**Serializable Interface**](https://github.com/Thundernerd/Unity3D-SerializableInterface)  - A wrapper that allows you to serialize interfaces. Both UnityEngine.Object and regular object implementers work!
[_Thundernerd_](https://github.com/Thundernerd/Unity3D-SerializableInterface) *Open Source*

[**XPool - Object Pooling System for Unity**](https://github.com/mackysoft/XPool)  - Object pooling system for Unity.
[_mackysoft_](https://github.com/mackysoft/XPool) *Open Source*

[**FastIK**](https://github.com/ditzel/SimpleIK)  - Unity Inverse Kinematics made easy (SimpleIK is the working title)
[_ditzel_](https://github.com/ditzel/SimpleIK) *Open Source*

[**Pivot Editor for Unity**](https://github.com/yasirkula/UnityAdjustPivot)  - Adjust pivot point of an object in Unity without creating an empty parent object. Also available on the [Asset Store](https://assetstore.unity.com/packages/tools/utilities/adjust-pivot-112883?aid=1011l8NVc)
[_yasirkula_](https://github.com/yasirkula/UnityAdjustPivot) *Open Source*

[**Unity Bezier Solution**](https://github.com/yasirkula/UnityBezierSolution)  - A bezier spline solution for Unity 3D with some utility functions (like travelling the spline with constant speed/time). Also available on [Asset Store](https://assetstore.unity.com/packages/tools/level-design/bezier-solution-113074?aid=1011l8NVc).
[_yasirkula_](https://github.com/yasirkula/UnityBezierSolution) *Open Source*

[**RosettaUI**](https://github.com/fuqunaga/RosettaUI)  - Code-based GUI library for development menus for Unity.
[_fuqunaga_](https://github.com/fuqunaga/RosettaUI) *Open Source*

[**Match 3 SDK**](https://github.com/ChebanovDD/Match3-SDK)  - A cross-platform library that makes it easy to create your own Match 3 game.
[_ChebanovDD_](https://github.com/ChebanovDD/Match3-SDK) *Open Source*

[**unity-moxi-ink**](https://github.com/komietty/unity-moxi-ink)  - Lattice Boltzman Equation base ink simulation called Moxi implemented on Unity.
[_komietty_](https://github.com/komietty/unity-moxi-ink) *Open Source*

## Spotlight

[![Project Ferocious](https://gamedevdigest.com/assets/images/0965b6c995c1659d5b56e1e69e9f3a7b.png)](https://store.steampowered.com/app/1645630/Project_Ferocious/)
[**Project Ferocious**](https://store.steampowered.com/app/1645630/Project_Ferocious/)  - Tales from sea monsters and missing sailors surround a thick mysterious fog on the pacific ocean. The distress call from a group of missing investigative journalists leads you right in the middle of it, where you find a tropical island where no island should be. Hostile forces want to keep the island a secret at all costs and to uncover the truth and find your friends, you will not only have to survive them but also the fierce inhabitants of this lost world.

Explore, Survive, Fight - in Project Ferocious, you are all alone on a deadly island occupied by hostile forces. Equipped with a camera, you are trying to uncover the truth while using a wide arsenal of weapons and tools to survive. Explore the island by rappeling steep cliffs, discovering underwater caves, and trying to hide from the terrifying creatures inhabiting this lost world.

_[Follow along on [Twitter](https://twitter.com/omeletteandyog1)]_
[_OMYOG_](https://store.steampowered.com/app/1645630/Project_Ferocious/)



---

You can subscribe to the free weekly newsletter on [GameDevDigest.com](https://gamedevdigest.com)

This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article.