Skip to main content

Questions tagged [unity-ui]

Unity UI is a UI toolkit for developing user interfaces for games and applications in Unity. It is a GameObject-based system that uses Components and the Game View to arrange, position, and style user interfaces.

1 vote
1 answer
46 views

I have a prefab with some fixed sizes on itself and its elements: Then added a Aspect Ratio Fitter and a Preferred Height: . When using that prefab from a container with Horizontal Layout Group with ...
Henrique Pombo's user avatar
0 votes
2 answers
86 views

I have this function that spawns an Icon from a world position and animates it to correct UI position. In editor it works fine but in apk on phone it has a wrong starting position. Now as I understand ...
Ivan's user avatar
  • 379
0 votes
1 answer
219 views

Here is what I want to achieve, health bars that stay perfectly above the units, regardless of where the unit moves or where the camera is: https://www.youtube.com/live/fZSaPDz-GJc?si=B868wwF5KAPCuEtw&...
Pascal Claes's user avatar
0 votes
2 answers
138 views

How can I highlight only specific parts of an image in Unity? My image would be something like the example below: a grid with text and fields. Text can be separated, but I would prefer it be part of ...
Ivan's user avatar
  • 379
0 votes
1 answer
62 views

I am fairly new to Unity. I want to create a VR project that I build to WebXR and publish to the web. I am using the sample scene from this project and it helps me get up and running. I am able to ...
Bernie2436's user avatar
0 votes
1 answer
162 views

I am placing a 3D game object with a SpriteRenderer + Billboard attached to it in my scene. However, since it's a distance away from a perspective camera, the sprite gets scaled, losing a lot of the ...
PayasoPrince's user avatar
0 votes
0 answers
53 views

So i want to design an editor which has the following requirements. Suppose i already have a prefab called Player.prefab and script attached as Player.cs And have a scriptable object called ...
Aman's user avatar
  • 1
0 votes
0 answers
179 views

I’m working with Unity’s UI Toolkit and trying to implement a popup window that appears when clicking a menu button. The expected behavior is that when I click the menu button, a popup window with ...
Corvus Ultima's user avatar

15 30 50 per page
1
2 3 4 5
15