Everyday Unity – Telegram
Everyday Unity
1.1K subscribers
157 photos
59 videos
42 files
2.36K links
A game developer and tech lead in a top grossing company posting Unity, programming, and gamedev related stuff that I find interesting
Website: https://gamedev.center

Most used tags are:
#performance
#shader
#interview

Author: @alexmtr
Download Telegram
Deep C# - Casting the Escape from Strong Typing

This ability to accept a bigger object i.e. you can safely downcast the parameter, is often referred to as contravariance. That is the return parameter can be safely upcast to a smaller object and this in turn is refered to as covariance.

https://www.i-programmer.info/ebooks/47-deep-c/493-deep-c-c4.html

#cast #csharp
Shader Tutorial: Pulsing to Audio

A very detailed guide how to make shader that reacts to audio input

https://www.patreon.com/posts/shader-tutorial-38679948

#shader #audioinput #pulse
Unity Architecture Pattern: Structured Prefabs

The author suggest to always create a monobehaviour for the root of the prefab to avoid GetComponent calls and easier validation of provided references to components.

https://bronsonzgeb.com/index.php/2021/05/01/unity-architecture-pattern-structured-prefabs/

#prefab
The Uninomicon [Uninomicon]

Unity is a very complex beast, and much of its behavior is undocumented. While this is often for good reason1), many of us still find ourselves doing research into the precise operation of Unity APIs.

This wiki is a place for that research. It's a place you can look before you start your dive into the engine's internals. Hopefully, if we work together, it will save some of us a trip.

https://uninomicon.com/

#docs