Zero allocation code in C# and Unity - Seba's Lab
Great list of advices how to achieve zero allocation code
http://www.sebaslab.com/zero-allocation-code-in-unity/
#memory #optmization #gc
Great list of advices how to achieve zero allocation code
http://www.sebaslab.com/zero-allocation-code-in-unity/
#memory #optmization #gc
Seba's Lab
Zero allocation code in C# and Unity - Seba's Lab
The home of Svelto C# ECS and advanced Unity gamedev C# articles
Understanding the Whys, Whats, and Whens of ValueTask | .NET Blog
https://devblogs.microsoft.com/dotnet/understanding-the-whys-whats-and-whens-of-valuetask/
#async #await #valuetask
https://devblogs.microsoft.com/dotnet/understanding-the-whys-whats-and-whens-of-valuetask/
#async #await #valuetask
Microsoft News
Understanding the Whys, Whats, and Whens of ValueTask
The .NET Framework 4 saw the introduction of the System.Threading.Tasks namespace, and with it the Task class. This type and the derived Task<TResult> have long since become a staple of .NET programming, key aspects of the asynchronous programming model introduced…
Fastest way to set elements in a preallocated array in c#
https://www.sebaslab.com/fastest-way-to-iterate-an-array-in-c/
#array #iteration
https://www.sebaslab.com/fastest-way-to-iterate-an-array-in-c/
#array #iteration
Seba's Lab
Fastest way to set elements in a preallocated array in c# - Seba's Lab
The home of Svelto C# ECS and advanced Unity gamedev C# articles
Svelto.ECS Internals: How to avoid boxing when using structs with reflection
https://www.sebaslab.com/casting-a-struct-into-an-interface-inside-a-generic-method-without-boxing/
#struct #reflection #boxing
https://www.sebaslab.com/casting-a-struct-into-an-interface-inside-a-generic-method-without-boxing/
#struct #reflection #boxing
Seba's Lab
Svelto.ECS Internals: How to avoid boxing when using structs with reflection - Seba's Lab
The home of Svelto C# ECS and advanced Unity gamedev C# articles
The #1Millioncubes challenge. How I managed to animate a freakload of cubes on windows using Unity
Usage of BeginWrite/EndWrite
https://www.sebaslab.com/the-1millioncubes-challenge-how-i-managed-to-animate-a-freakload-of-cubes-on-windows-using-unity/
#instancing
Usage of BeginWrite/EndWrite
https://www.sebaslab.com/the-1millioncubes-challenge-how-i-managed-to-animate-a-freakload-of-cubes-on-windows-using-unity/
#instancing
Seba's Lab
The #1Millioncubes challenge. How I managed to animate a freakload of cubes on windows using Unity - Seba's Lab
The home of Svelto C# ECS and advanced Unity gamedev C# articles
Find out what’s new for the Addressable Asset System
Synchronous loading and slight performance improvements.
https://blogs.unity3d.com/2021/04/14/find-out-whats-new-for-the-addressable-asset-system/
#addressable
Synchronous loading and slight performance improvements.
https://blogs.unity3d.com/2021/04/14/find-out-whats-new-for-the-addressable-asset-system/
#addressable
Unity Blog
Find out what’s new for the Addressable Asset System | Unity Blog
The Addressable Asset System allows you to safely and efficiently manage the content of complex Unity projects. Discover how the Synchronous Addressables API can make switching your project to this flexible system easier than before.
How to architect code as your project scales | Avoiding technical debt | Unity
https://unity.com/how-to/how-architect-code-your-project-scales
#tips #architecture
https://unity.com/how-to/how-architect-code-your-project-scales
#tips #architecture
Unity
How to architect code as your project scales | Avoiding technical debt | Unity
Effective tips for how to architect the code of a growing game, so it scales neatly and with fewer problems.
Unity 2018 and PlayerLoop
https://blog.beardphantom.com/post/190674647054/unity-2018-and-playerloop
#playerloop
https://blog.beardphantom.com/post/190674647054/unity-2018-and-playerloop
#playerloop
Tumblr
Unity 2018 and PlayerLoop
Introduction
This is a repost of a blog post I made on my old website, pretty much all of this information still applies in 2020!
Before Unity 5.X (specifically 5.0), control over the application...
This is a repost of a blog post I made on my old website, pretty much all of this information still applies in 2020!
Before Unity 5.X (specifically 5.0), control over the application...
UniTask v2 — Zero Allocation async/await for Unity, with Asynchronous LINQ
UniTask internals
https://neuecc.medium.com/unitask-v2-zero-allocation-async-await-for-unity-with-asynchronous-linq-1aa9c96aa7dd
#unitask #async
UniTask internals
https://neuecc.medium.com/unitask-v2-zero-allocation-async-await-for-unity-with-asynchronous-linq-1aa9c96aa7dd
#unitask #async
Medium
UniTask v2 — Zero Allocation async/await for Unity, with Asynchronous LINQ
I’ve previously published UniTask, a new async/await library for Unity, now I’ve rewritten all the code and released new one.
Bursting into 2021 with Burst 1.5
New DirectCall feature makes it even easier to use Burst compiler
https://blogs.unity3d.com/2021/04/14/bursting-into-2021-with-burst-1-5/
#burst
New DirectCall feature makes it even easier to use Burst compiler
https://blogs.unity3d.com/2021/04/14/bursting-into-2021-with-burst-1-5/
#burst
Unity Blog
Bursting into 2021 with Burst 1.5 | Unity Blog
Our High Performance C# (HPC#) compiler technology, Burst, has gone from strength to strength. In the latest version Burst 1.5, we’ve made some major improvements. In this post we’ll take you through the headline features, and show you how to make the most…
A nice and fast way to check if a polygon in 3D space is convex or concave. Basically get a normal for each edge and calculate the dot product with the next edge. Compare the direction and if the sign changes it is concave
https://mobile.twitter.com/BinaryImpactG/status/1381913049167065089
#convex #concave #math
https://mobile.twitter.com/BinaryImpactG/status/1381913049167065089
#convex #concave #math
Twitter
Binary Impact
#UnityTips Here is a nice and fast way to check if a polygon in 3D space is convex or concave. Basically get a normal for each edge and calculate the dot product with the next edge. Compare the direction and if the sign changes it is concave. #math #coding…
Unity - Scripting API: GlobalObjectId
https://docs.unity3d.com/ScriptReference/GlobalObjectId.html
#globalobjectid #id
https://docs.unity3d.com/ScriptReference/GlobalObjectId.html
#globalobjectid #id
ShaderQuest Part 1: Graphics Concepts – Harry Alisavakis
https://halisavakis.com/shaderquest-part-1-graphics-concepts/
#shader #basics
https://halisavakis.com/shaderquest-part-1-graphics-concepts/
#shader #basics
Как мы «вырастили» и победили читеров в своем онлайн-шутере
https://m.habr.com/en/company/lightmap/blog/544182/
#anticheat
https://m.habr.com/en/company/lightmap/blog/544182/
#anticheat
Habr
Как мы «вырастили» и победили читеров в своем онлайн-шутере
Часто сижу на форумах читеров, не потому что нравится, а просто разработчику PvP-шутера всегда нужно быть в тонусе. Некоторые из взломщиков в прямом смысле слова выросли на моих глазах вместе с...