Optimization: Do this to your UI in Unity & Thing to be careful about...

preview_player
Показать описание

Assets I used in this video:

In this comprehensive and insightful YouTube video, unlock the secrets of Unity optimization and learn how to supercharge your game or application's performance with a simple checkbox. Join us as we dive deep into the world of optimization techniques, tips, and best practices.

#unity #unity3d #unityoptimization #gamedevelopment #unitytutorial #gamedev #optimization #howto #tutorial #performance #unityperformance #games #gameengine #c #unitytechnologies #programming #development #3d #unity2d #unitytutorialforbeginners #unityoptimizationtips #drawcall #unityhowto #fps
Рекомендации по теме
Комментарии
Автор

You can use Preset Manager to make Raycast Target false by default on all new Image and Text components. Did this on all of my projects and now have much less distractions when building my game UI.

vladimirkuznetsov
Автор

On 8:38 you mentioned that "for some reason, when image is not null you can disable raycast target and it works fine."
That's in fact, incorrect. The reason why the normal button works is because it has a text set as a child, and text also has the 'Raycast target' option enabled by default

kilthrall
Автор

Nice tip for a main menu or similar.
But be careful, if you disable it e.g. on a pause menu inside your game scene: Players could accidentaly click elements inside the scene "behind" the UI.

michaelperkins
Автор

why does it take 6 ms to process RaycastAll though, do you have a low end computer?

INeatFreak
Автор

Thanks but video too long for this small tip

happarohapparo