When do _UseClipRect and _UseAlphaClip work in UI-Default.shader of newGUI?
This is the code for "DefaultResourcesExtra/UI/UI-Default.shader" which is part of the Unity built-in shader that is most frequently used in our project. Code (CSharp): Shader "UI/Default" {...
View ArticleButtons within scroll rect are difficult to press on mobile
I have a scroll rect which presents a grid of icon buttons. On desktop the buttons are easy to click, on mobile (android) the buttons are difficult to press. When I tap them It seems that only the...
View ArticleFree file picker dialog for Windows and Android
Hey. I'm looking for a file explorer/picker dialog that would work for Windows and most importantly for Android (it doesn't have to be the same file explorer). I've found a lot of questions about this...
View ArticleSet Corners from Rectangle
Hi all, I'm having a heck of a time figuring this out. Does anyone know how to set the corners of a scaled RectTransform from a screen space rectangle? I can't get it to work for RectTransforms with a...
View Articlecant display ScorePlayer on unity5 please help
hi .. i am trying to simple display scor player on the screen using unity 5. UI whats wrong on my code please help Code (JavaScript): #pragma strict var my_score : String; Â function Start () {...
View ArticleWaitingForJob (not related to occlusion culling)
Ever since 5.2 came out, we have been getting enormous spikes (like 40ms) every second or two from what the profiler is calling "WaitingForJob." I've seen people asking about this before, but they...
View Article[5.2]Dropdown , OnValueChanged.
Hey guys: I have been trying to set up the new dropdown element but I cant make it work as it should: I am using this script to take the "value" from the dropdown: Code (csharp): Â using UnityEngine;...
View ArticleQuestion about image scale on 9 Slice and resolution (Beginner)
Hello, I am an Artist and very new to Unity, and mainly use it to check my export Images to my Dev now.We like to have a 9 Sliced Dialog Background with round corners. I started layouting and exported...
View ArticleHow can I change the text of a UI.Text without causing a memory leak?
I have a UI.Text that I need to change the text for, but every time I do I get a huge memory leak (like 1.3MB). I've tried using both static and dynamic fonts, using smaller font sizes, and...
View ArticleLayout Group and ContentSizeFitter in child
Hey everyone ! So, Here is a graph of my UI : View attachment 147646 . Basically, every Element is an expandable element and the list of elements is dynamic. I need my red RectTransform size to be...
View ArticleSluggish GUI - how to optimise?
I've a reasonably complex main menu and customisation UI with several panels layered and scroll views. I've packed all sprites with the sprite packing tag 'UI'. When run on a 2013 Nexus 7, the refresh...
View ArticleShow Folder Content in the UI
Hey. I'm trying to get Files from a relative path (for example: _textures or _txtfiles). So when i Start the Application the content of different folders should shown me in my UI. And with a double...
View ArticleResponsive / Multi Platform UI Layouts
I am working on a new project that will deploy on desktop, web and mobile devices. The graphics will be pretty much entirely UI-based, with lots of text and images - so making sure graphics are tight...
View ArticleInputField Caret,Selection,Clipping
InputField Caret position and text selection is wrong when text align is changed to anything else than topLeft, changed font size, changed canvas scale. Secondly, the text selection quad is not...
View ArticleTrouble with Sliders
I am attempting to set up a slider that controls the amount of force that will be applied to an object that I want to launch, but I am not able to apply the value of the slider to anything nor can I...
View ArticleHow could I put a text above an object?
Hi everyone. Sorry if I'm posting it on the wrong session,I'm new in this forum. I'd like to know a way to put a text hangging above an object while it moves. Tks
View ArticleUnderstanding the requirements to build and replace Unity UI dlls
Hi, I've been getting into the Unity UI system of late and finding I need to make modifications to the source code and thus rebuild the dll's. However i've had very limited experience of building dll's...
View ArticleWhat's the best practice for moving RectTransforms in Script?
Final testing revealed MASSIVE performance hits from Tweening my UI controls. Profiling (Unity Pro) showed this was a result of setting the tranforms position: MyCoolUIGameObject.transform.position =...
View ArticleNew UI and line drawing
Hi, we'd like to do simple line drawing working within an NGUI panel, using Vectrosity. Apparently this is a popular request. Given how difficult it is to do with the source of both NGUI and Vectrosity...
View ArticleUI looks different in Editor and iPhone 6 Plus
Hi all, Please see the attached screenshot, which shows the Unity editor on the left, and the app running on my iPhone 6 Plus. Please can someone explain why the UI has not scaled correctly on my...
View Article