Everyday Unity – Telegram
Everyday Unity
1.1K subscribers
157 photos
59 videos
42 files
2.36K 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
2d Visibility
In a 2D top-down map it is sometimes useful to calculate which areas are visible from a given point. For example you might want to hide what’s not visible from the player’s location, or you might want to know what areas would be lit by a torch.

https://www.redblobgames.com/articles/visibility/

#2dvisibility #vision #2dlighting
👍5
Scripts to fix the Polygon Collider 2D problems

The Box2D Physics Engine doesn't support concave shapes. Instead, It generates multiple convex shape. In this way our objects may get stuck between these convex shapes.

https://www.reddit.com/r/Unity2D/comments/vlvr1t/i_wrote_some_noscripts_to_fix_the_polygon_collider/

Asset store (free): https://assetstore.unity.com/packages/tools/physics/polygon-collider-2d-solver-224620

#physics #physics2d #meshcollider
👍3
Real-time 3D Art Best Practices: Texturing

A very detailed guide on texturing, can be easily used to setup guidelines in your project.

https://developer.arm.com/documentation/102449/0100/?lang=en

#optimization #textures #performance
👍4
.NET Debugging Tips

- CONDITIONAL BREAKPOINTS
- DATA BREAKPOINTS
- MOVING THE DEBUG POINTER
- BREAK ON HANDLED EXCEPTIONS
- THE IMMEDIATE WINDOW
- THE DEBUGGER DISPLAY ATTRIBUTE

https://timdeschryver.dev/blog/dotnet-debugging-tips

#debug
👍3
This media is not supported in your browser
VIEW IN TELEGRAM
UltimateXR is a free, open source framework and toolkit for Unity that includes powerful features such as cross-device compatibility, state-of-the-art grab and manipulation mechanics, inclusion through a library of gender- and race-agnostic hands, customizable full body avatar representation, advanced UI components, locomotion mechanics, and much more

The package is available there:
https://www.ultimatexr.io/

#xr #manipulation
👍2
RectMask2DCulling: Custom RectMask2D, that allows disabling Culling / Softness for better performance

RectMask2DCulling uses the reflection to get private properties of parent RectMask2D class, and it adds performance overhead, so make sure to profile your case and compare this solution to a scroll list with object pooling (can be found in this channel #scrollrect or any other similar solution from GitHub).

https://github.com/mitay-walle/Unity3d-RectMask2DCulling

#optimization #uioptimization #ui #culling #rectmask2d
👍2