Questions tagged [user-interface]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
31 views

Differentiate Generic Tromino or Tetramino Match vs Specific Shape (Square, Line, L, ect..) in Match-3

This is primarily a user interface question related to match-3 games and visualizing a goal for the player using clear imagery. I'm interested in having a match-3 game where if you get certain matches ...
G. Putnam's user avatar
  • 111
0 votes
1 answer
63 views

How to fix Unity UI Panel Image being replaced with an "X"?

In my Unity Game, the Image on my UI Panel got replaced with an "X" instead of the Image it is supposed to be, I tried adding a different image to the panel and making a new panel, but it ...
Stelbert Stylton's user avatar
0 votes
0 answers
117 views

I can't manage to get Instantiate USerWidget from c++ in unreal5

I have a c++ UserWidget like this (sorry for some naming I renamed stuff a bit for post clarity) header ...
Bobby's user avatar
  • 21
0 votes
1 answer
172 views

Buttons' hitboxes shift a bit lower when I maximize my game window

I have a simple scene in my Unity 3d project. There is a Canvas (UI Scale Mode in Canvas Scaler is set to Constant Pixel Size but the same is with Scale with screen size), Panel inside it (Stretched ...
crackanddie's user avatar
1 vote
2 answers
464 views

How can I right-align elements in Unity's UI Toolkit scroll view?

I've tried a basic google search and am still having trouble with this one. Unity encourages the use of UI Toolkit at this point, as opposed to their old system, so that's what I'm going with; I have ...
Michael Macha's user avatar
0 votes
1 answer
756 views

UI not scaling properly

I'm trying to create an endless runner type game where once the player dies, a popup opens letting the user know that the player can be saved by watching an ad. This is how the popup looks in the game ...
single arrow games's user avatar
1 vote
1 answer
68 views

How to get vertices array from UIElements Label class (using reflection)?

I am trying to access the per letter vertices array in the UIElements (UI Toolkit) Label Unity class. Background A Label of this type can be created for example with: ...
mike's user avatar
  • 481
0 votes
1 answer
437 views

Argument out of Range Exception on click of button that calls a function that doesn't use an index

Currently writing a script that builds a HUD for testing some functions in a project. It automatically builds buttons, one of which works, while the other gives the error indicated in the title and ...
EvelynSays's user avatar
0 votes
1 answer
444 views

UI quality drops when changing canvas resolution in Unity

I am making a game for android using unity. The problem is that the resolution of the UI drops drastically when the canvas resolution is changed(for testing purposes). Joystick(UI component) with ...
Naitik's user avatar
  • 1
2 votes
1 answer
450 views

Is it possible to hide deprecated assets in Unity?

I'm specifically referring to the package manager. Unity is aware, even in the editor, of which assets are declared deprecated, as it allows me to filter my results to only show the deprecated ...
Michael Macha's user avatar
0 votes
0 answers
20 views

How to indicate players they should click to continue?

My game is entirely based on single click/touch interactions. In the screenshot, the player has just clicked the toolbox and the message "My toolbox - I better pick it up." appeared. I want ...
Krumelur's user avatar
  • 299
0 votes
1 answer
1k views

Does setting the alpha of a UI canvas group to 0 stop Unity from wasting resources rendering it? Is this a valid optimization for off screen UI?

I am trying to improve the efficiency of a big UI Scroll View in my Unity app. These Scroll Views tend to be inefficient and can be prone to jittery/stuttering motion if they are taxed. I came across ...
mike's user avatar
  • 481
0 votes
2 answers
727 views

Detect what object was dropped onto, rather than the object being dragged

I want to make a simple drag and drop system in 2D in Unity. When the user drags the object to a position, I want to check if the position is valid. As in I want the user to drag an object onto ...
Nomi's user avatar
  • 33
1 vote
1 answer
245 views

How to implement a simple Scrollbar

I'm making a simple UI system for a small game and i'm having some difficulty to implement a Scrollbar. At the moment i'm having two major problems that i need some help to solve: . Calculating the &...
RickS.'s user avatar
  • 51
1 vote
1 answer
771 views

Detect when item has been dragged & dropped onto an inventory slot

In my inventory system I want to be able to drag and drop items into inventory slots. I managed to make it work, but only in a weird way: When the player starts dragging, it picks up the item and it ...
shlime's user avatar
  • 23
2 votes
1 answer
6k views

Unity ScrollView not scrolling with Clamped or Elastic

I have a ScrollView object in my project. It is set to Clamped. Inside the ViewPort, I have Content and what I actually want to scroll, a TextViewMesh. The Content has a Content Size Fitter, with its ...
Fustigador's user avatar
1 vote
2 answers
397 views

Unity: How to work with forms

Today I learned some cool tricks about sizing containers and its children, I mainly using this, because I need to build some forms. But now... It is some preffered way how to handle forms? Or some ...
Zechy's user avatar
  • 67
1 vote
2 answers
928 views

Need help with using Player Prefs to save number of coins collected

I'm using unity 3D to make a game where the character collides with coins in order to collect them. When playing the game, the player should start out with zero coins and each time he collides with a ...
Matheson's user avatar
4 votes
0 answers
113 views

How to map interaction events to game actions

When I port between Desktop games and Mobile games, I find I always make a kludge out of the interaction events. I typically end up hard-coding event handling for mobile, and event handling for the ...
Bram's user avatar
  • 3,729
0 votes
0 answers
106 views

Getting a control name/Displaying tooltip text

I am developing a character creator using Windows Forms (because apparently I can't create menus in Unity), and I want to display some tips and descriptions in a ...
JoeKalango's user avatar
0 votes
2 answers
137 views

Examples of 3D space strategy with good XYZ controls?

I've been tinkering with an idea for a space sym, kind of like MOO2, writing it for mobile or browser as a way to learn Java. Command ships and control planets, etc. I'd love to make the game in 3d, ...
CMB's user avatar
  • 101
3 votes
2 answers
261 views

Best way to de-clutter name tags on units in RTS

This is an RTS-MMO mobile game I am building, Each unit has health-bar and name of the unit and owner on top of it and a small circle indicating if the unit is friendly and/or has weapons activated or ...
TeAmEr's user avatar
  • 181
2 votes
1 answer
4k views

Unity Placing a UI on top of Cinemachine

I have cinemachine set up. I just need to place the UI on top of it. I can easily manage to make the canvas appear when there's only the main camera alone. However with Cinemachine, it appears that ...
CraftedGaming's user avatar
1 vote
0 answers
37 views

Scene for Computer Screen

We are developing a scene that will involve heavily interacting with a "touch screen monitor" in the scene.. Because the workflow of the touch screen will need to be dynamic we are creating a REST API ...
R Down's user avatar
  • 111
0 votes
1 answer
341 views

Why is this LIBGDX Action behavior THE EXACT OPPOSITE of what I expect?

Here is a code snippet of the relevant section in my render loop. My intention was to make the actor who was currently focused blinking, to indicate that it was the currently selected UI element. But ...
cafeTechne's user avatar
1 vote
3 answers
447 views

How to name HP/MP/Exp bars in a single word?

I have one question related to game design. In my prototype game, I have an options when you can change look of your HPbar, MPbar and Expbar. Actually I don't know how to easily name this option. ...
streng's user avatar
  • 31
0 votes
0 answers
33 views

Networking User Interface Buttons (build queue items)

I am creating a RTS with Unity/C#, and have noticed a problem synchronising build queues. Is there an ideal solution to handle button prediction? I think I may have overengineered the solution... ...
user avatar
1 vote
1 answer
36 views

How can I change displayed information as a physical control knob is slid along a track

I'm making an installation for exhibition or demonstration purpose. I want to have a physical handle the viewer can slide along a track. As they do so, the information displayed on the screen should ...
Antony's user avatar
  • 113
4 votes
2 answers
110 views

Making various shapes equally difficult to tap

I'm developing a game where the player quickly has to tap/click on various shapes such as squares, circles, triangles, stars and so on. I'm now struggling with the following task: I'm searching for a ...
Sebastian Negraszus's user avatar