Quantcast
Channel: UGUI & TextMesh Pro
Browsing all 23263 articles
Browse latest View live

Scroll View and Grid Layout

I am trying to create a Shop UI. I have a Scroll View, then attach to the content Object I have a Grid Layout. I then created a Prefab for how the shop items should look. I then add 4 or 5 of the shop...

View Article


Scroll View with automatic content height is not working

Hi, someone can hep me please? iam following this tutorial: http://1darray.com/blog/2016/02/23/ui-scroll-view-automatic-content-height/ I want to do a scrollview with a text inside with automatic...

View Article


Image may be NSFW.
Clik here to view.

Dynamic Panel from List ---> Inventory System

Hi guys, My item Inventory system is doing fine so far but I'm a real noob when it comes to UI... Here is my problem : I've got dynamically generated lists of items (grouped by types), I want to...

View Article

Can the current EventSystem respond to both mouse and axis input at the same...

Until I focus my canvas with the mouse, it responds to the chosen axis desirably. Once I focus the canvas with my mouse, it no longer responds to the keyboard or gamepad. I apologize if this question...

View Article

Save the sibling index when larger than count of children

Since sibling index is the only way to control the rendering of the ui, how can you go about if say you want a z index of 1000 but the current count of children is 50? It doesn't save that you wanted...

View Article


Changing size of dropdown in unity

View attachment 190446 Hey Guys , I am having troubles with setting up larger size of dropdown... as you can see the standard size of dropdown is 160 x 30 so when you click on the dropdown arrow the 3...

View Article

Creating button and canvas way to big

I am trying to create a new UI with a button for the first time on a 2D background. My scene is 768 x 1024 and when i create the button the canvas, and the button, is way too big. I have tried to...

View Article

GUILayout or canvas (IMGUI or UI system)

Hi all So here I am trying to decide which way to go. GUI scripting or this canvas system. Maybe you can help me break the tie. What inclines me towards the scriptable gui is the fact I'm making a...

View Article


UI Button not working as Prefab

Hi, I have the following issue: I have created a UI 'element' consisting of Panel, containing a Button and 3 Images. The Button itself has a Text, as it is by default. Everything is working great....

View Article


Converting world rotation to screen rotation

I am trying to turn ui element toward the 3d-world object. can anyone tell me what is wrong in my code? Code (CSharp):                 Vector3 posA =...

View Article

Horizontal layout - fit the view

I'm using horizontal layout UI component to create markers on a slider. What I currently have is the following: View attachment 213929 However, I would like the markers to start from the beginning and...

View Article

Update news for the Unity UI Extensions project - Update 1.2 released

Update news for the Unity UI Extensions project - Update 1.2 released New / updated features ---------------------- * Major updates to the Horizontal and Vertical Scroll Snap controls * Replacement...

View Article

Image may be NSFW.
Clik here to view.

Free script: TableLayoutGroup

Hey guys! Here's a free TableLayoutGroup script for anyone to use in their projects. Features: - Arrange child RectTransforms in a tabular format with fixed column-widths and flexible row-sizes - Rows...

View Article


text wraping gone wrong

Hello. I am making a book in VR. Basicaly what I want to do, is to generate text taken from database as string to pages like real book, so I could flip pages. One page have two text UI elements facing...

View Article

Image may be NSFW.
Clik here to view.

Problem with showing GUI and with stopping game

When I'm pressing Escape, my menu is showing and music is playing. Its good but I need to have stoped game and workable menu then. And when I have my menu acrived, and I am pressing W or S or A or D,...

View Article


[5.2] MaskableGraphic performance OnEnable(), OnDisable()

Hey folks. Our UI has seen some major spikes since upgrading to 5.2 from two functions - MaskableGraphic.OnEnable() and MaskableGraphic.OnDisable(), both coming in at a whopping 51ms. There is also a...

View Article

Vertical/Horizontal Layout Group

I have encountered a couple of issues in 5.5.0f3 with the vertical and horizontal layout groups. It appears that a new feature has been added to these elements - Child Control Size - this appears to be...

View Article


Given a Text, get the rect of a word within that Text

Hey folks. Been searching for a solution to this for a bit with no luck and was wondering if anyone might have any ideas. Basically, given a Text object in a screen-space canvas with some message in it...

View Article

Web page styled layout

This is the layout I am trying to achieve View attachment 213972 With the blue areas having the ability to gain new elements and expand their size accordingly, black areas to expand their size to fit...

View Article

Weird button warning

Over the last patch (4.6.2p2) it started to pop up these warnings in one scene where buttons have animator: Code (CSharp):   Parameter 'Normal' does not exist. UnityEngine.UI.Selectable:OnValidate()...

View Article
Browsing all 23263 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>