TGViewer
Channel Public Channel
Everyday Unity

Everyday Unity

@everydayunity

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
Subscribers
1.18K
Photos
169
Videos
61
Links
2.4K

Showing posts older than #2076 · Back to latest

Older Posts 20 shown
Post #2073 361
The Cost Of async/await On The Build Size

Knowing how async/await works under the hood, I was interested in understanding the impact on the build size, as the compiler does its magic and for each async method generates the state machine consisting of hundreds of lines of code. During IL2CPP phase this amount grows even further, so code growth definitely should cause build size to increase, let's find out the actual impact in this analysis.

https://gamedev.center/the-cost-of-async-await-on-the-build-size/

#async #buildsize #optimization
gamedev.center The Hidden Costs of async/await: How it Affects Build Size Uncover the relationship between using async/await and build size. Learn the costs and how it affects your code in this comprehensive analysis
  • 👍 11
Post #2072 290
NavMeshPlus: Unity NavMesh 2D Pathfinding

Unity nav mesh doesn't support 2D out of the box. This repo contains the implementation of NavMeshSurface and 2d Extensions for tilemap, sprites and collider2d top down games.

https://github.com/h8man/NavMeshPlus

#navmesh2d #navmesh #pathfinding
  • 👍 4
Post #2069 218
Post #2068 215
Post #2067 226
KaimiraWeightedList: A generic collection for selecting random elements by weight in O(1) in C#

This class implements an algorithm for sampling from a discrete probability distribution via a generic list with extremely fast O(1) get operations and small (close to minimally small) O(n) space complexity and O(n) CRUD complexity.

https://github.com/cdanek/KaimiraWeightedList

#dsa #weightedlist
GitHub GitHub - cdanek/KaimiraWeightedList: A generic collection for selecting random elements by weight in O(1) in C# A generic collection for selecting random elements by weight in O(1) in C# - cdanek/KaimiraWeightedList
  • 👍 6
Post #2065 199
Post #2064 206
object-pooling-in-unity-demo: This demo project shows custom implementation of Object Pooling used in our upcoming game: Pelagos: Rise of Greece

A great example of object pooling. And since Unity 2021.x we got the built-in object pool functionality.

https://github.com/keypax/object-pooling-in-unity-demo

#objectpool #optimization
  • 👍 9
Post #2057 218
Hey-Area-Object-Spawner: Procedural Area Spawner Tool

A level design tool that allows you to create random objects inside a complex area on the terrain. In addition, spawning allows you to create complex area (Polygon from points) spawning systems, saving your time designing levels

https://github.com/JahnStar/Hey-Area-Object-Spawner

#spawner #leveldesign
  • 👍 6
Post #2055 336
Unity Main Thread Dispatcher

Provides a simple, thread safe, non monobehaviour service for managing the queue of work items on unity main thread using PlayerLoopSystem. Can be also used as an example of PlayerLoopSystem usage which is around for quite a while already.

https://github.com/gustavopsantos/UnityMainThreadDispatcher

#mainthread #dispatcher #playerloopsystem
GitHub GitHub - gustavopsantos/UnityMainThreadDispatcher: Provides a simple, thread safe, non monobehaviour service for managing the queue… Provides a simple, thread safe, non monobehaviour service for managing the queue of work items on unity main thread - gustavopsantos/UnityMainThreadDispatcher
  • 👍 4
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →