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 ArticleUnity 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 ArticlePossible 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 ArticleUI 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 ArticleInput 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 ArticleHow 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 ArticleButton 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 ArticleUI 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 ArticleChange 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 ArticleUnity 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 ArticleUnity 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 ArticleWhy 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 Article5.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 ArticleUnity 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 ArticleImage.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 ArticleUnityEngine.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 ArticleRequesting 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 ArticleGUI 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 ArticleProblem 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 ArticleHow 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