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

Scaling mesh to fit RectTransform

Hi guys, I have a few meshes which I'm attaching to my UI canvas. The meshes keep their proper aspect ratio and behave as expected (even when the UI is resized), just as if they were an image or some...

View Article


Unity drop down menu "Issue"

I am having an issue with the Unity "Add component" menu. I am not sure how to describe it so I uploaded a screen shot. Has anyone seen this issue before and know how to fix it?

View Article


Possible to do drag n drop in ScreenSpace Camera ?

I have set up a simple scene with 2 panels and 1 Text in each panel. In ScreenSpace overlay, drag n drop works perfectly. But when I switch over to ScreenSpace - Camera. When I dragged the text UI, the...

View Article

UI conflicts with Raycast

Hey guys , so this is my issue , I'm using raycast like this(see below) for moving on terrain. Also I did some popups and UI elements with the new UI system , I attached canvas group and checked blocks...

View Article

Input Fields treating tab different on different OS

In a Linux standalone build, pressing the TAB key while typing in an input field actually adds a tab character to the field. (And pressing while the contents are highlighted overwrites the entire...

View Article


How to get the pixel width and height (and padding) of a font (fixed-width)

How to get the pixel width and height (and padding) of a font (fixed-width) title pretty much says what I'm looking for. Some sample code that hasn't worked: //CharacterInfo info; //if...

View Article

Button OnClick Event is firing twice

Hello. I have the following code in an Awake-Function of a script: Code (CSharp): sendButton = GameObject.FindGameObjectWithTag ("Chat_SendButton").GetComponent<Button>();...

View Article

UI Flicker (Screen Space Overlay -> Render Texture)

I have a Render Texture for a mini HUD for the center console of my cockpit. I want a UI to be displayed there so I decided to use the Unity UI interface. The HUD on the center console is via a Render...

View Article


Change function of Event trigger - PointerDown from script

How to simply change assigned function of Event trigger - PointerDown from script in runtime? I cant find simple answer. Please help, thank you. View attachment 171219

View Article


Unity UI - Fallthrough detection? (Drag to pan camera if your input was not...

Hey ya'll! So, say I am working on a mobile game with similar controls to Boom Beach. I have a bunch of UI elements that the user can interact with, and the user can also pan around/pinch and zoom on...

View Article

Unity text not showing up with Oculus

I've added gameover text to my project, but it simply doesn't show up when oculus is connected, when it's disconnected, text shows up just fine. I don't know if this is a bug or something. Is there...

View Article

Why do enabled buttons always look like disabled buttons?

Hello, I added my button to my canvas. I have set the disabled Color in the button script to black, see Screen. In Code behind I declared my button: publicButtoncraftButton; later in my script I set it...

View Article

5.3 Text component, vertical placement not correct?

Just downloaded today released 5.3, and loaded my project. Like the topic says, i noticed that texts are not aligned the same they were in 5.2.3 = seems like vertical alignment is off. Top aligned text...

View Article


Unity 5.1 UI flickers when button pressed

Since I upgraded to Unity 5.1, everytime I press a button, the UI flickers. This is on android. The same build with Unity 5.0 doesn't flicker. Now that I've upgraded my projects to 5.1, I can't go...

View Article

Image.fillAmount and memory allocation

Hello All, While profiling my app I found out that changing Image.fillAmount property allocates 20B of memory. It is not much but in my case when I have timer made with Image.fillAmount, this memory is...

View Article


UnityEngine.UI.dll is in timestamps but is not known in assetdatabase

I'm using beta 19 on Windows and still quite constantly get the error "Asset 'C:/Program Files (x86)/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/4.6.0/UnityEngine.UI.dll' is in timestamps but is...

View Article

Requesting information about "Layout Rebuilder" error. (Issue #745453)

Hi, I reported this bug quite a long time ago now and it is marked as "fixed in a future release". There have been numerous updates and patch releases since it was marked as such and I was wondering if...

View Article


GUI question, need some help

Hello I faced a problem (I dont know maybe this is not big deal) with GUI. Please take a look at the video this will be easier to explain what is my goal here. So there are 2 questions: 1. You see that...

View Article

Problem with new version Patch 5.0.1p4 in the scene view

In the scene view I do not see any more the images of ui. Is it a bug? Or a novelty.

View Article

Image may be NSFW.
Clik here to view.

How to insert HTML element in Unity3d

Good day everyone, How can I insert items like date selection (calendar widget), drop down box (countries selection) and radio button in unity3d? Basically are mobile friendly HTML elements Thanks for...

View Article
Browsing all 23263 articles
Browse latest View live


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