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.

0 votes
0 answers
12 views

In Unity, how to make World Space XR UI Canvas Scale with the Child Input Field TMP?

I have an XR UI canvas that is set to World Space. It has a child object which is an Input Field. If the text input overflows the Input field, I have made it to expand vertically downwards using a '...
Amir's user avatar
  • 31
0 votes
1 answer
30 views

Why does a numeric input field appear in my Unity event when it doesn't in the tutorial?

I was making a game main menu by watching a video online. In that video, while setting the volume Slider, after adding the coded script in the On Value Changed section and selecting ...
Volkan AKDAG's user avatar
0 votes
1 answer
15 views

Selection Box Not Positioning Correctly

I found some code that generates a selection box, but when I tried it the box was not starting where the mouse was and I couldn't find the issue. ...
PizzaLvr49's user avatar
0 votes
0 answers
30 views

How can I use `UnityEngine.UIElements.PopupWindow` for a custom PropertyDrawer targeting an array with UI Toolkit?

I'm following the "Create a Custom Inspector" car and tire example that Unity has in their documentation for UI Toolkit, but I'm trying to modify it in a specific way and I'm coming up short ...
NJJ_002's user avatar
  • 47
2 votes
2 answers
64 views

How would I make minimap of racing track where dot follows track progress in Unity?

I would like to show race progress in my UI. My minimap is like sketch below: Blue dot represents progress and red dot is finish line. I would like this to work in UI so only blue dot would move. If ...
Ivan's user avatar
  • 349
0 votes
0 answers
25 views

UI Button is not working

I have a problem on the canvas. When I remove the camera in the FPS Controller player and UnChecked the FPS Controller it works but when the Camera is inside the the FPS Controller I can't click ...
Christian James Calambro's user avatar
1 vote
1 answer
103 views

is it possible to render world space canvas over other objects in unity?

for some pickable object, I display a UI canvas. It's attached to a scene gameObject. Sometimes the Canvas UI overlaps with some other objects. I need to make sure the UI is always renderer on top of ...
virtouso's user avatar
  • 2,640
0 votes
1 answer
47 views

Image over everything Unity

I want to create a UI for a VR game to use it as a loading screen, the scene has a camera an image, a text mesh and a loading icon, the image is the background and the text and loading icon should be ...
Alejandro's user avatar
0 votes
2 answers
36 views

Unity LookAt says reference not set but it is

This is my code ...
Alejandro's user avatar
0 votes
2 answers
65 views

Add round edges to heptagon shaped image with fill in Unity

I am not sure if this is possible I have this image: This is how it looks when I do radial fill: My question is if there is a way to make edges rounded while filling the image. Rough sketch of what ...
Ivan's user avatar
  • 349
0 votes
0 answers
95 views

Buttons in a scroll view not working

I have created a scroll view in Unity, and wanted to make the elements inside clickable. It would function as a level select menu. The level panels are instantiated from a prefab. As a first approach ...
CheckerT's user avatar
0 votes
0 answers
38 views

Why do my shaders render differently in the simulator?

I am using simple shaders on the cards in my game. The shader is assigned as a material to a white image the covers the whole card. They render as intended in the scene view, but do not in IOS ...
Devin's user avatar
  • 1
0 votes
0 answers
31 views

3D object blinks in and out of visibility through canvas

In the Menu scene I have canvas with buttons and some 3D objects that are visible in camera's view. However one object - "the red prompt Arrow" is jumping in and out of visibility. Like here ...
NationalGeographicProgrammer's user avatar
0 votes
0 answers
39 views

Why do Unity UI toggle groups update *after* the default time in Execution Order settings?

Why is toggle group after default time in the default script execution order in Unity?
ina's user avatar
  • 294
0 votes
1 answer
37 views

Unity Canvas on Quad blocking mouse click sometimes?

I'm working on a card game that has quads with world space canvases on them. I've been using OnMouseOver() and ...
Gage Adam's user avatar

15 30 50 per page
1
2 3 4 5
14