Remove unity-ui
article thumbnail

Unity UI Profiling: How Dare You Break My Batches?

The GameDev Guru

You spend infinite amount of time optimizing your Unity UI. But, all it takes to really screw up performance is a sneaky modification on a tiny attribute of an almost invisible Canvas UI element. And when that happens, not even Unity UI Profiling will save you from dropping frames.

100
100
article thumbnail

Unity UI: My Top 3 Optimization Strategies

The GameDev Guru

What do you do when you lose hope with Unity UI? I normally do not share my past struggles, but this topic deserves it. I still remember…

100
100
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Unity Drag and Drop System for Inventory UI

Game Development for Beginners

In this tutorial, we will see how to drag and drop an UI icon into a slot using the UI event system in Unity. We will be using the IDragHandler and IDropHandler of the event system for this purpose. The IDragHandler has a Begin,Drag and an End method that we can use to control the. Read more.

52
article thumbnail

Working with UI and New Input System in Unity

Game Development for Beginners

If you have not already setup the new Input system then check out our tutorial on Getting started with Unity’s new Input system. Adding UI, accessing UI from script will be same as in the. Creating a virtual controller is very simple using the new input system if you already have an action map setup. Read more.

article thumbnail

StatefulUI: A Unity UI Library Based on States and Markup

Game Developer

In this article, we'll talk about developing a user interface in Unity based on states and markup of elements.

article thumbnail

New tool dramatically improves compiling times for Unity

PreMortem.Games

Top image: Pavel Danilyuk – Pexels You can call it a live compiling tool for Unity. Hot Reload lets coders skip Unity compile times for real-time updates while changing code. A feature Unreal devs are accustomed to, but has been a bottleneck for Unity development for years. So the pricing is fit accordingly.

Code 170
article thumbnail

I want to stretch and display images for UI

Cocos

We would like to be able to display the UI on different screen sizes. However, this is not a good idea because every time there are more UIs, there are more UIs to resize. In unity, there is a feature called Anchors that matches the size of the parent UI in this way, and it would be nice to be able to do the same thing.

Sprite 52