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 #1975 · Back to latest

Older Posts 20 shown
Post #1972 326
GitHub - Cysharp/MemoryPack: Zero encoding extreme performance binary serializer for C# and Unity.

The newest serializer by the developer of UniTask and MessagePack for C#.

https://github.com/Cysharp/MemoryPack

#serializer
  • 👍 8
Post #1970 197
Post #1967 189
methodic: Test and interact with functions in Unity using a GUI.

Adds an editor window that provides a simple interface to select your script's functions and run them with parameters of your choice. Ideal for manually triggering events during gameplay and for modifying game objects in the editor.

https://github.com/mminer/methodic

#editortool #invoker
  • 👍 3
Post #1962 833
Post #1961 192
Performance traps of ref locals and ref returns in C#

Be cautious with ref returns because they can break encapsulation.
Be cautious with readonly ref returns because they’re more performant only for readonly structs and could cause performance issues for regular structs.
Be cautious with readonly ref locals because they also could cause performance issues for non-readonly structs causing defensive copy each time the variable is used.

https://devblogs.microsoft.com/premier-developer/performance-traps-of-ref-locals-and-ref-returns-in-c/

#struct #readonly #ref #performance
Microsoft News Performance traps of ref locals and ref returns in C# The C# language from the very first version supported passing arguments by value or by reference. But before C# 7 the C# compiler supported only one way of returning a value from a method (or a property) – returning by value.
  • 👍 2
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 →