Everyday Unity
1.18K subscribers
169 photos
61 videos
42 files
2.38K 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
Use an easier way to drag references between objects: right click - Properties or Alt+P instead of locking the inspector window and opening the additional one.

https://youtube.com/shorts/9Z78hOHk7JM

#editor #tip
๐Ÿ‘3
My take on shaders: Stylized water shader โ€“ Harry Alisavakis

A very detailed description of a stylized water shader with foam and ripples

https://halisavakis.com/my-take-on-shaders-stylized-water-shader/

#shader #water #ripples
๐Ÿ‘3
Selection Groups - a package made by Unity that provides a more convenient workflow in the editor by allowing to group a number of GameObjects under a common name.
This way, we can do operations on these groups, instead of individual GameObjects.

https://github.com/Unity-Technologies/com.unity.selection-groups

#editortools #selectiongroups
๐Ÿ‘2
The Worst Bug Everโ€”Randomly Losing Your Best Players

A great example of solving a critical issue in production with Unity InApp Purchasing. I admire the engineering approach to problem solving the author has shown.
Unit testing third party code to reproduce the issue leads to stunning results. Even Uncle Bob wrote about it a long time ago in his book "Clean Code". Of course it also shows how good infrastructure is important, possibility to get data like real receipts helped to run these tests. And I am pretty sure they store a lot of different stuff that would help to detect issues in various areas of the game, not only IAPs.

https://medium.com/pocket-gems/the-worst-bug-ever-randomly-losing-your-best-players-c4c5d25048c4

#iap #debug
๐Ÿ‘3
Unity: Avoid Custom "ENABLE_X" Preprocessor Symbols

The problem begins when removing custom symbols which are prefixed with โ€œENABLE_โ€.
Unity will not remove custom symbols prefixed with โ€œENABLE_โ€ from the .csproj files!

https://www.brutalhack.com/blog/unity-avoid-enable-preprocessor-symbols/

#tip #preprocessor
๐Ÿ‘3
Dependency Injection for Unity made by the developer of Zenject

UniDi is a Dependency Injection container for Unity and a continuation of Zenject/Extenject. The UniDi is a project that seeks to refactor Zenject in order to:
- Simplify maintenance
- Encourage contributions
- Split the work between multiple developers
- Maximize extensibility

https://github.com/UniDi/UniDi

#di #dicontainer
๐Ÿ‘3
Free Potion Bottle Models

The post also has references to shaders used: Stylized Glass and Fake Liquid.

https://www.patreon.com/posts/free-potion-52073394

#liquid #shader #assets #bottle
๐Ÿ‘3
While selecting multiple objects you can write L(startPos, endPos) in any position field to set those objects with equal distances.

No need to write a custom editor script to lerp positions of selected objects.

https://twitter.com/M4nusPotax/status/1521472254177349633

#editortip #tip
๐Ÿ‘2