Ускоряем цикл foreach до for
Always profile your code on target device
https://habr.com/ru/post/575664/
#foreach #il
Always profile your code on target device
https://habr.com/ru/post/575664/
#foreach #il
Хабр
Ускоряем цикл foreach до for
Привет! Хочу рассказать об интересном опыте, как я писал енумератор для типа Range, который был бы таким же дешевым, как цикл for.Что мы хотим?У System.Range, как известно, очень красивый синтаксис...
Rider Essentials - .NET Guide
Authors of The Pragmatic Programmer said that you should always improve your workflow and knowledge of your instruments. Take time to check out these series to find new tips and tricks in Rider
https://www.jetbrains.com/dotnet/guide/tutorials/rider-essentials/
#rider #workflow #shortcut
Authors of The Pragmatic Programmer said that you should always improve your workflow and knowledge of your instruments. Take time to check out these series to find new tips and tricks in Rider
https://www.jetbrains.com/dotnet/guide/tutorials/rider-essentials/
#rider #workflow #shortcut
Jetbrains
Rider Essentials
Our developer advocates show their favourite tips and tricks, uncovering how they work with Rider.
Code, code and more code.: Is the era of reflection-heavy C# libraries at an end?
https://blog.marcgravell.com/2021/05/is-era-of-reflection-heavy-c-libraries.html
#codegen
https://blog.marcgravell.com/2021/05/is-era-of-reflection-heavy-c-libraries.html
#codegen
Marcgravell
Is the era of reflection-heavy C# libraries at an end?
I’m going to talk about reflection-heavy libraries; I will describe the scenario I’m talking about - as it is commonly used today, the stat...
roslyn/source-generators.cookbook
https://github.com/dotnet/roslyn/blob/main/docs/features/source-generators.cookbook.md
#codegen #cookbook
https://github.com/dotnet/roslyn/blob/main/docs/features/source-generators.cookbook.md
#codegen #cookbook
GitHub
roslyn/docs/features/source-generators.cookbook.md at main · dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs. - dotnet/roslyn
The proper usages of the keyword 'static' in C#
https://blog.ndepend.com/the-proper-usages-of-the-keyword-static-in-c/
#static #tips
https://blog.ndepend.com/the-proper-usages-of-the-keyword-static-in-c/
#static #tips
NDepend
The proper usages of the keyword 'static' in C# - NDepend
Understand the benefits you can get from using the keyword static in C#, and the traps most begineers fall into.
Создание статического анализатора для C# на основе Roslyn API
https://pvs-studio.com/ru/blog/posts/csharp/0867/
#staticanalysis #analysis
https://pvs-studio.com/ru/blog/posts/csharp/0867/
#staticanalysis #analysis
PVS-Studio
Создание статического анализатора для C# на основе Roslyn API
После прочтения этой статьи вы будете обладать знаниями для создания своего собственного статического анализатора для C# кода, благодаря ему вы сможете найти потенциальные ошибки и уязвимос…
Custom Lighting in URP with Shader Graph
https://bronsonzgeb.com/index.php/2021/10/04/custom-lighting-in-urp-with-shader-graph/
#shadergraph #lighting
https://bronsonzgeb.com/index.php/2021/10/04/custom-lighting-in-urp-with-shader-graph/
#shadergraph #lighting
[In Development] NImGui, a 1 Draw Call Immediate Mode GUI for Unity - Unity Forum
Has some drawbacks, but draw UI in 1 draw call is awesome
https://forum.unity.com/threads/in-development-nimgui-a-1-draw-call-immediate-mode-gui-for-unity.1171601/
#ui #optimization
Has some drawbacks, but draw UI in 1 draw call is awesome
https://forum.unity.com/threads/in-development-nimgui-a-1-draw-call-immediate-mode-gui-for-unity.1171601/
#ui #optimization
Unity Forum
[In Development] NImGui, a 1 Draw Call Immediate Mode GUI for Unity
NImGui stands for Nimble Immediate Mode General User Interface and is designed to be a replacement library to Unity's runtime ImGui.
I have always...
I have always...
How to build your passthrough AR app for Oculus Quest in Unity
https://skarredghost.com/2021/10/01/how-to-passthrough-ar-oculus-quest-unity/
#passthrough #vr #ar #oculus
https://skarredghost.com/2021/10/01/how-to-passthrough-ar-oculus-quest-unity/
#passthrough #vr #ar #oculus
The Ghost Howls
How to build your passthrough AR app for Oculus Quest in Unity
Full tutorial on how you can build your augmented reality Passthrough experience for Oculus Quest 2 in Unity. Create your AR app in minutes!
Rearrange members with file and type layout patterns | JetBrains Rider
https://www.jetbrains.com/help/rider/File_and_Type_Layout.html#reordering-file-and-type-members
#codestyle
https://www.jetbrains.com/help/rider/File_and_Type_Layout.html#reordering-file-and-type-members
#codestyle
JetBrains Rider Help
Rearrange members with file and type layout patterns | JetBrains Rider
How to optimize game performance with Camera usage - Part 1
The full book will be attached under this post
https://blog.unity.com/games/optimize-game-performance-with-camera-usage
#camera #rendering #performance
The full book will be attached under this post
https://blog.unity.com/games/optimize-game-performance-with-camera-usage
#camera #rendering #performance
Unity
How to optimize game performance with Camera usage: Part 1
The Accelerate Success series will strive to showcase pragmatic and methodological tips and best practices gathered from our experiences working with top studios from around the world.
Accelerating 2D Applications
https://developer.arm.com/documentation/102524/0100/Inefficiency-in-2D-Content
#2d #optimization #sprite #ui
https://developer.arm.com/documentation/102524/0100/Inefficiency-in-2D-Content
#2d #optimization #sprite #ui
FusionWater: A New Plugin for Adding Water Physics in Unity
https://80.lv/articles/fusionwater-a-new-plugin-for-adding-water-physics-in-unity/
#buoyancy #water #physics
https://80.lv/articles/fusionwater-a-new-plugin-for-adding-water-physics-in-unity/
#buoyancy #water #physics
80LV
FusionWater: A New Plugin for Adding Water Physics in Unity
Here's a simple way to add buoyancy/water physics in Unity.
Burning sphere vfx. As requested by a lot of you here's a little breakdown.
https://twitter.com/matt_ostertag/status/1446572293136781320
#vfx #shader
https://twitter.com/matt_ostertag/status/1446572293136781320
#vfx #shader
Twitter
Matt Ostertag
Wow 2k likes for my burning sphere, thanks a lot ! As requested by a lot of you here's a little breakdown. #gamedev #VFX #shader #unity3d
Differences between Hashtable vs Dictonary vs ConcurrentDictionary vs ImmutableDictionary
https://www.hanselman.com/blog/differences-between-hashtable-vs-dictonary-vs-concurrentdictionary-vs-immutabledictionary
#dictionary #hastable
https://www.hanselman.com/blog/differences-between-hashtable-vs-dictonary-vs-concurrentdictionary-vs-immutabledictionary
#dictionary #hastable
Hanselman
Differences between Hashtable vs Dictonary vs ConcurrentDictionary vs ImmutableDictionary
I'm very much enjoying David Fowler's tweets, and since he doesn't have a blog, ...
UnityEvent Serialization Research
An in-depth article about serialization of UnityEvent, how it is serialized and what you can and cannot do with it
https://gametorrahod.com/unityevent-serialization-research/
#unityevent
An in-depth article about serialization of UnityEvent, how it is serialized and what you can and cannot do with it
https://gametorrahod.com/unityevent-serialization-research/
#unityevent
Game Torrahod
UnityEvent Serialization Research
I always forget what is the criteria so UnityEvent could target on the dropdown. By writing this article I could come back and read instead of trial-and-error!
How i achieved this look with Unity + Clayxels✨ THREAD
Highly stylized look, interesting to follow along how it was achieved
https://mobile.twitter.com/AlexStrook/status/1298797160721510400
#clayxels #shader #stylized
Highly stylized look, interesting to follow along how it was achieved
https://mobile.twitter.com/AlexStrook/status/1298797160721510400
#clayxels #shader #stylized
Twitter
Alex Strook 🐁
1/15 After all the nice comments on this little scene, I had to do a breakdown ! I will try to explain my thought process and some technical details. I hope you enjoy it !! ✨how i achieved this look with Unity + Clayxels✨ THREAD 👇#madewithunity #clayxels…