Game Dev Digest — Issue #191 - Stateful Systems, C#, Animation, and more
Tags: gamedev, unity3d, csharp, news
Published: 2023-06-16 13:52:29

---
title:  Game Dev Digest — Issue #191 - Stateful Systems, C#, Animation, and more
published: true
date: 2023-06-16 13:52:29 UTC
tags: gamedev,unity,csharp,news
canonical_url: https://gamedevdigest.com/digests/issue-191-stateful-systems-c-animation-and-more.html
series: Game Dev Digest - The Newsletter About Unity Game Dev
---

### Issue #191 - Stateful Systems, C#, Animation, and more

*This article was originally published on [GameDevDigest.com](https://gamedevdigest.com/digests/issue-191-stateful-systems-c-animation-and-more.html)*

![Issue #191 - Stateful Systems, C#, Animation, and more](https://gamedevdigest.com/assets/social-posts/issue-191.png)

A grab bag of great content, from stateful and reactive UI and other systems, animation libraries, C# fundamentals, and more. Enjoy!

---

[**Where are Objects Allocated in C#? Understanding Heap and Stack**](https://itnext.io/where-are-objects-allocated-in-c-understanding-heap-and-stack-951febcac8fe)  - In the world of C# programming, understanding where objects are allocated is crucial for optimizing memory usage and ensuring efficient code execution. In this comprehensive guide, we will delve into the two primary memory locations for object allocation in C#: the heap and the stack. By grasping these concepts, you’ll be equipped with valuable insights that can help you write high-performance C# applications.
[_itnext.io_](https://itnext.io/where-are-objects-allocated-in-c-understanding-heap-and-stack-951febcac8fe)

[**Reduce heap allocations by using static anonymous functions**](https://bartwullems.blogspot.com/2023/06/reduce-heap-allocations-by-using-static.html?utm_source=pocket_saves)  - As a C# developer you got used to apply anonymous functions everywhere. Everytime you write a LINQ statement or use a lamdbda expression, you are creating an anonymous function. But what you maybe are not aware of is that anonymous functions have a performance impact and don’t come cheap.
[_ajmmertens.medium.com_](https://bartwullems.blogspot.com/2023/06/reduce-heap-allocations-by-using-static.html?utm_source=pocket_saves)

[**Why it is time to start thinking of games as databases**](https://ajmmertens.medium.com/why-it-is-time-to-start-thinking-of-games-as-databases-e7971da33ac3)  - In the previous blog post, Building Games in ECS with Entity Relationships, I talked about the benefits of treating relationships between entities as first class citizens in a game. In this new blog post I’ll dive deeper into one of those benefits, and the futuristic capabilities it could unlock.
[_bartwullems.blogspot.com_](https://ajmmertens.medium.com/why-it-is-time-to-start-thinking-of-games-as-databases-e7971da33ac3)

[**Impostor Syndrome: The Hidden Challenge for Game Designers**](https://80.lv/articles/impostor-syndrome-the-hidden-challenge-for-game-designers/)  - iLogos' Lead Game Designer Sergei Belkov explained how Impostor Syndrome can affect Game Developers, discussed the reasons that might cause the syndrome to appear, and detailed some tips and tricks on how to avoid it.
[_80.lv_](https://80.lv/articles/impostor-syndrome-the-hidden-challenge-for-game-designers/)

[**How to add VR support to your Universal Render Pipeline project**](https://blog.unity.com/engine-platform/how-to-add-vr-support-to-your-universal-render-pipeline-project)  - To those who haven’t developed for VR before, it can be daunting to figure out where to get started. Whether you’re just starting your project or have an existing URP project that you’ve published on other platforms, we’ll go over the steps to add VR support so that it can run on multiple VR platforms with minimal effort.
[_Unity_](https://blog.unity.com/engine-platform/how-to-add-vr-support-to-your-universal-render-pipeline-project)

[**Shader Graph for Compute Grass System**](https://www.patreon.com/posts/shader-graph-for-81985104)  - I have a little update to the URP version of the Grass System. In order to make the Compute Grass more compatible and stable with the changing URP versions I’ve converted it to Shader Graph using some Custom Nodes. This will benefit both you and me because it's easier to edit to your style, and will result in a lot less API bugs for me to solve!
[_Minions Art_](https://www.patreon.com/posts/shader-graph-for-81985104)

[**StatefulUI: A Unity UI Library Based on States and Markup**](https://www.gamedeveloper.com/blogs/statefului-a-unity-ui-library-based-on-markup-and-states)  - In this article, we'll talk about developing a user interface in Unity based on states and markup of elements.
[_Dmitrii Ivashchenko_](https://www.gamedeveloper.com/blogs/statefului-a-unity-ui-library-based-on-markup-and-states)

## Videos

[![Unity Shader Graph - Intersection Effect Tutorial](https://gamedevdigest.com/assets/images/yt-Uyw5yBFEoXo.jpg)](https://www.youtube.com/watch?v=Uyw5yBFEoXo)
[**Unity Shader Graph - Intersection Effect Tutorial**](https://www.youtube.com/watch?v=Uyw5yBFEoXo)  - Let's see how we can make an object glow when intersecting geometry around it. Very useful technique for shields, barriers, force fields, among other effects!

_[If you love Gabriel's work be sure to check out the [Publisher Sale](assetstore.unity.com/publisher-sale?aid=1011l8NVc) where you can get 50% off their work!]_
[_Gabriel Aguiar Prod._](https://www.youtube.com/watch?v=Uyw5yBFEoXo)

[**Three types of UI masks and their uses**](https://www.youtube.com/watch?v=N-iAru1hOxQ)  - In Unity UI (uGUI), there are different ways to use masks.
[_Unity Japan_](https://www.youtube.com/watch?v=N-iAru1hOxQ)

[**Unity Retro Effect (PSOne) shader tutorial - Decompiled Art**](https://www.youtube.com/watch?v=n5zlq0A8xGg)  - Tools: Unity Universal Render Pipeline (URP), High Definition Render Pipeline (HDRP), ShaderGraph
[_Decompiled Art_](https://www.youtube.com/watch?v=n5zlq0A8xGg)

[**Physics Based Floating Character Controller in Unity with Unity's New Input System**](https://www.youtube.com/watch?v=c5y7PP9jRqw)  - Everything you need to recreate this is shown in this video and supplied in the 1.0 project which is available to all to download for free via the links provided on the 1zed1 community Discord server. This full 2.0 project shown in this video is available for Patreons to download as a complete package.
[_1zed1 Games_](https://www.youtube.com/watch?v=c5y7PP9jRqw)

[**Proximity Vertex Distortion | Unity Shader Graph**](https://www.youtube.com/watch?v=6tMzEyAjG00)  - Proximity Vertex Distortion | Unity Shader Graph
[_Omar A. Balfaqih_](https://www.youtube.com/watch?v=6tMzEyAjG00)

[**Build Anything In Unity Using DSA | How Programmers Think**](https://www.youtube.com/watch?v=6tx46w5yHLA)  - Have you ever wondered how programmers actually think and make decisions? It's not magic, there is a structured pattern that we follow in order to write the best code. In this video, I will guide you through a thought process of how programmers think. I will go over Data Structures, Algorithms and Design Patterns and talk about their importance in Unity C# Programming.
[_Darko Tomic_](https://www.youtube.com/watch?v=6tx46w5yHLA)

## Assets

[![Unity Worldbuilding Sale](https://gamedevdigest.com/assets/images/1686860285.png)](https://assetstore.unity.com/?on_sale=true&amp;orderBy=1&amp;rows=96&amp;aid=1011l8NVc)
[**Unity Worldbuilding Sale**](https://assetstore.unity.com/?on_sale=true&amp;orderBy=1&amp;rows=96&amp;aid=1011l8NVc)  - Create immersive and engaging worlds with stunning environments, toolkits, weather systems. Develop a world that gives life to your characters and fulfills their purpose. With this sale customers can save up to 50% off on 250 assets which will be suited for building worlds in games, including Toolkits, Particles, Effects & Simulators, Terrain, and VFX.

Customers can also receive an additional 10% off on all orders over $50+ USD by using the coupon code JUNE10.
[_Unity_](https://assetstore.unity.com/?on_sale=true&amp;orderBy=1&amp;rows=96&amp;aid=1011l8NVc) **Affiliate**

[**50% off Gabriel Aguiar**](https://assetstore.unity.com/publisher-sale?aid=1011l8NVc)  - Get 50% off Gabriel Aguiar assets – now until June 22.

Inlcuding [Unique Toon Projectiles Vol. 1](https://assetstore.unity.com/packages/vfx/particles/unique-toon-projectiles-vol-1-139417?aid=1011l8NVc), [VFX Graph - Weapon Effects - Vol. 1](https://assetstore.unity.com/packages/vfx/particles/vfx-graph-weapon-effects-vol-1-206237?aid=1011l8NVc), [VFX Graph - Ultra Mega Pack - Vol.1](https://assetstore.unity.com/packages/vfx/vfx-graph-ultra-mega-pack-vol-1-251038?aid=1011l8NVc) and lots more!

PLUS, Get [VFX Graph - Stylized Smoke - Vol. 1](https://assetstore.unity.com/packages/vfx/particles/vfx-graph-stylized-smoke-vol-1-207694?aid=1011l8NVc) for FREE with code GABRIEL.
[_Unity_](https://assetstore.unity.com/publisher-sale?aid=1011l8NVc) **Affiliate**

[**UniFileOpenDialog**](https://github.com/Bian-Sh/UniFileOpenDialog?)  - FileSaveDialog in Untiy . With Topmost Fuction for Windows os.
[_Bian-Sh_](https://github.com/Bian-Sh/UniFileOpenDialog?) *Open Source*

[**TinkState# - Reactive State Handling for C# (and Unity!)**](https://github.com/nadako/TinkStateSharp?)  - An uncomplicated library for dealing with mutable state in a nice reactive way.
[_nadako_](https://github.com/nadako/TinkStateSharp?) *Open Source*

[**Scriptable States**](https://github.com/luisoliveiras/scriptable-states?)  - Scriptable States is a ScriptableObject based implementaton of a Finite State Machine. It's main purpose is to create reusable behaviour bits like the ScriptableAction and the ScriptableCondition, and be able to create and edit a ScriptableState using those actions and sequencing those states with a ScriptableStateMachine setting transitions with those conditions to create unique behaviour through the editor.
[_luisoliveiras_](https://github.com/luisoliveiras/scriptable-states?) *Open Source*

[**ElementAnimationToolkit**](https://github.com/instance-id/ElementAnimationToolkit?)  - This package began simply as a small collection of helpers methods I created across my last few projects to make animating editor elements much easier and finally put into a single place.
[_instance-id_](https://github.com/instance-id/ElementAnimationToolkit?) *Open Source*

[**Animation Library**](https://github.com/zigurous/unity-animation-library?)  - The Animation Library package contains assets and scripts for animating Unity objects. Animation behaviors include Blink, FollowPath, Move, Orbit, Rotate, Scale, SmoothFollow, SmoothLookAt, and more. The package also contains several animation-related data structures and predefined avatar masks.
[_zigurous_](https://github.com/zigurous/unity-animation-library?) *Open Source*

[**2D Sprite Animator for Unity Engine**](https://github.com/GabrielBigardi/Unity-2D-Sprite-Animator?)  - Tired of the "Unity Animator Hell", want more performance and faster workflow ? You've gone into the right place, this is a project i've made to replace Unity Animator usage on 2D projects, it's more performatic, simple and easy to use.
[_GabrielBigardi_](https://github.com/GabrielBigardi/Unity-2D-Sprite-Animator?) *Open Source*

[**NetworkPositionSync**](https://github.com/James-Frowen/NetworkPositionSync?)  - Network Transform using Snapshot Interpolation and other techniques to best sync position and rotation over the network.
[_James-Frowen_](https://github.com/James-Frowen/NetworkPositionSync?) *Open Source*

[**Trove**](https://github.com/PhilSA/Trove?utm_source=pocket_saves)  - Collection of tools for Unity DOTS. Including Utility AI, Tweens, attributes and buffs/modifiers, etc...
[_PhilSA_](https://github.com/PhilSA/Trove?utm_source=pocket_saves) *Open Source*

[**Easy Accessibility Package**](https://github.com/trudeaua21/EasyAccessibilityPackage?)  - The goal of the Easy Accessibility Package is to provide a free, easy to use resource to help Unity developers include accessibility features into their games.
See the tutorial for instructions on installation and use.
There are two main features included with this package: Remappable Controls and Screen Reader Support (using Tolk).
[_trudeaua21_](https://github.com/trudeaua21/EasyAccessibilityPackage?) *Open Source*

[**GeoJsonCityBuilder**](https://github.com/ElmarJ/GeoJsonCityBuilder?)  - Unity Package to recreate a 3D-city from a geojson file. Currently allows to create extruded objects (e.g. buildings) from polygons and to place prefabs on points.
[_ElmarJ_](https://github.com/ElmarJ/GeoJsonCityBuilder?) *Open Source*

[**Lazy Builder**](https://github.com/wafflesgama/LazyBuilder?utm_source=pocket_saves)  - Lazy Builder is a procedural tool (powered by Sceelix ) designed to simplify the construction of complex 3D environments.
[_wafflesgama_](https://github.com/wafflesgama/LazyBuilder?utm_source=pocket_saves) *Open Source*

[**Unity3D BSP Importer**](https://github.com/wfowler1/Unity3D-BSP-Importer?)  - A lightweight plugin for importing BSP maps into Unity3D as meshes. Currently only imports World and Entities and their surfaces.
[_wfowler1_](https://github.com/wfowler1/Unity3D-BSP-Importer?) *Open Source*

[**Polyhydra**](https://github.com/IxxyXR/polyhydra-core?)  - Polyhydra is a toolkit for the procedural generation of geometric forms in Unity.
[_IxxyXR_](https://github.com/IxxyXR/polyhydra-core?) *Open Source*

[**Royalty Free Game, Film, Content Music Mania**](https://www.humblebundle.com/software/royalty-free-game-film-and-content-music-mania-software?partner=unity3dreport)  - Supercharge your soundtrack. Score your game, movie, or other creative project with this bundle of high-quality music! Featuring hundreds of tracks, loops, and more audio elements, this sonic library will help you craft a fitting soundtrack for your fantasy fantasy role-playing epic, arcade beat-em-up, cinematic action sequence, and much more. Plus, your purchase will help support Extra Life!
[_Humble Bundle_](https://www.humblebundle.com/software/royalty-free-game-film-and-content-music-mania-software?partner=unity3dreport) **Affiliate**

[**ColorfulHierarchy**](https://github.com/neveBr/ColorfulHierarchy?)  - Assign custom colors to game objects' text in the Hierarchy window.
[_neveBr_](https://github.com/neveBr/ColorfulHierarchy?) *Open Source*

[**RenderTextureExtensions.cs**](https://gist.github.com/Raveler/787da5e901677f76118cb89d092e247d)  - Third Unity Tip of the day! Add these extension methods for RenderTexture to your project to easily save them to disk for inspection with a one-liner. Very useful when debugging! Code in reply.
[_Karel Crombecq_](https://twitter.com/KarelCrombecq/status/1669335986843824130) *Open Source*

[**Unity Hidden Gems Bundle**](https://www.humblebundle.com/software/unity-hidden-gems-software?partner=unity3dreport)  - Tools & art treasures for Unity creators from the Unity Asset Store.
Bring your game to life—and make dev life a little easier—with this bundle of hidden-gem tools and art assets for Unity creators. Enhance your process with tools to enhance help draw, debug, create dialogue, make AI-generated maps, and much more. Get art assets & tools to build worlds with volumetric clouds, 3D lands filled with snow and ice, or fantasy realms with pixel-art monsters. Unleash your creativity, save time, and make the game you’ve been dreaming of—and help support Girls Make Games Scholarship Fund with your purchase.
This is an official bundle created by the Unity Asset Store, supporting the asset publishers featured.
[_Humble Bundle_](https://www.humblebundle.com/software/unity-hidden-gems-software?partner=unity3dreport) **Affiliate**

[**The Complete Learn Coding Mega Bundle**](https://www.humblebundle.com/software/complete-learn-code-mega-bundle-software?partner=unity3dreport)  - Learn coding & AI by building real projects. Learn to code with the world’s most popular tools and languages! Build apps and AI with Python and ChatGPT, and discover visual coding with Scratch. Create games with Unity, Unreal, Godot, Roblox, and Phaser, build C++ apps, and make responsive websites. Learn mobile development with Java, Kotlin, and Swift, and build an AR experience—plus, you’ll support Lotus Outreach International with your purchase!
[_Humble Bundle_](https://www.humblebundle.com/software/complete-learn-code-mega-bundle-software?partner=unity3dreport) **Affiliate**

## Spotlight

[![Duels of Fortune](https://gamedevdigest.com/assets/images/yt-AEj53vX2gWE.jpg)](https://cosmic-hat-games.itch.io/duels-of-fortune)
[**Duels of Fortune**](https://cosmic-hat-games.itch.io/duels-of-fortune)  - Welcome to Duels of Fortune, a fast-paced 2.5D fighting game featuring a crazy diverse cast of loveable characters with unique superpowers, and an open-ended, freeform gameplay style that lets you play the game your way. It provides a simple control scheme that makes the game accessible for beginners, while keeping plenty of mechanical and character-based depth for serious players to dig into.

From intense clashes against friends and rivals, to expansive singleplayer content, to heaps of character lore to read up on, there's something for everyone in Duels of Fortune!

_[You can find the game on [Itch.io](https://cosmic-hat-games.itch.io/duels-of-fortune) and follow them on [Twitter](https://twitter.com/CosmicHatGames)]_
[_Cosmic Hat Games_](https://cosmic-hat-games.itch.io/duels-of-fortune)



---

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.