Questions tagged [user-interface]
The user-interface tag has no summary.
32 questions
1
vote
1
answer
149
views
How to prioritize and display correct UI for multiple actions triggered by the same input?
In my Unity game, the "Interact" action is used for multiple tasks like opening doors and grabbing/dropping objects. However, there are scenarios where the player has an object in their ...
0
votes
1
answer
60
views
How do I capture Button Events in Unity?
When making a game menu, how do I hook into "OnSelect"/"OnDeselect"/"OnHighlight"/etc with custom callbacks?
The Button MonoBehaviour doesn't seem to allow subscribing to ...
1
vote
0
answers
46
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 ...
0
votes
1
answer
301
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 ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
541
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 ...
2
votes
1
answer
671
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 ...
0
votes
1
answer
2k
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 ...
1
vote
1
answer
381
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 &...
2
votes
1
answer
8k
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 ...
1
vote
2
answers
1k
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 ...
0
votes
0
answers
167
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 ...
3
votes
2
answers
296
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 ...
1
vote
0
answers
55
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 ...
1
vote
3
answers
647
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.
...
1
vote
1
answer
50
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 ...