Hyperlinks in Unity.UI Text
Has anyone done anything for putting hyperlinks in UI Text? I'm working on an account sign up page, and it would be great to be able to hyperlink the Terms of Service and Privacy Policy like most...
View ArticleDisplay width stretched buttons in UI
I want to display button in its full width. Basically I have achieved following by spending time on this. View attachment 180970 At present you are clearly seeing gap between buttons. I want to remove...
View ArticleTile image in one axis, stretch in another
Hi all I have an image in my UI. that i need to be scaled so that it is the correct size height ways, then tiled for the x axis how is it possible to only tile on one axis, and scale (with a preserved...
View ArticleBasic Menu in Unity 5.3 problem
Hi, I'm trying to create a very basic menu with just two buttons (play and exit) and a condition to show the menu again when you press M. Exit works fine but when I play launch, the menu and it's...
View ArticleTips for Improving unity UI performance?
Hi! I'm making a game on Unity 5.3.3 using UGUI. The issue is that somehow it is running at low fps and there's only UI involved The screen in the file attached is running at 35-40 fps on a low...
View ArticleUnity 5.2.3f1 to 5.3.4f1 - Text is now blurred in pixel perfect canvas
Text components have been crisp on a "Screen Space - Overlay" canvas with "Pixel Perfect" enabled, up until I updated to 5.3.4f1, now all text is blurred if coordinates are not whole numbers. Any...
View ArticleMasked UI Element's Shader Not Updating
I have a custom shader I am trying to use on a UI Image element. When the element is rendered by itself, the shader works fine. If I make the UI Image a child of an object with a mask, the shader...
View ArticleCanvas Dropdown in Scrollview issue
Hi, I have a scrollview (the big rectangle in the center, most part of the screen), with multiple element like text and dropdown. When i open the drop down menu as i do in the screenshot attached, i...
View ArticleAdding onClick listener in Editor script
I am trying to add listener, which would react into clicks via this way: Code (CSharp): Â UnityEditor.Events.UnityEventTools.AddPersistentListener(myButton.onClick, Â Â delegate { Â Â Â Â MyFunction();...
View ArticleUI Text Max Size Issue?
I have a very large combat log for an RPG that seems to stop parsing <> tags after it reaches a certain limit. The only solution to this seems to be to dynamically add new Text elements at the...
View ArticleMulti Line Input Field with Scrollbar
In the old unity before the new UI the textbox have a scrollbar for users to scroll up and down on it. There doesn't seem to be any for the new UI and the user have to move up and down with the...
View ArticleGUI disappear in editor when opening a scene
I have multiple scene files in my project. some of them have the new UI implemented. When I try to open a scene file in the editor, the GUI disappears and all is left are the labels. The art (sprites,...
View ArticleUI button touch problem .
greetings everyone , I have a slight problem . am using 2 buttons left and right to make my platformer character move . its working fine on my android except that if you hold the button and move your...
View ArticlePhysics2DRaycaster and camera
Hi guys, I have a weird behavior with the Physics2DRaycaster attached to my main camera. My objects in the scene have a 2D collider attached and a script implementing IPointerClickHandler. When the...
View ArticleElements positions varies on different screen resolutions with pixel perfect...
I'm trying to achieve precise alignment of ui elements. At least reduce randomness of it... It seems like ui elements positions is depending on how much pixels are on the screen, so different screen...
View ArticleSupport for Line Breaking for CJK (Feedback requested)
Today I made further improvements in TextMesh Pro related to the handling of Line Breaking for CJK which follows the rules for Leading and Following characters. Here is an example showing the results...
View ArticleUI : Stack of box, problem with scaling/anchors
Hello I Have a pile of UI Images in a GameObject to make my Left bar menu It's ok. http://prntscr.com/aq2j4g BUT, when i try to rescale, it's totaly messed up. http://prntscr.com/aq2j9u...
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 ArticleDropdown Scripting Add/Remove by script
Well in my game the player need to choose names, i want to let him the option to Add or Remove from dropdown. and it will save in prefs or something, while next time he is entering the game the same...
View ArticlePass multiple parameters in button method to instantiate UI prefab
I want to make a method that can instantiate any UI prefab I plug into it so it has multiple uses. I know that the UI buttons can only hold 1 parameter. is there a work around? Code (CSharp): public...
View Article