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

Image may be NSFW.
Clik here to view.

Changing TMP_InputField text via script

I'm having a weird issue with the TMP InputField. If I change the text via script, e.g.: Code (CSharp): nameField.text = "New Solution"; Then the text gets shifted left a bit: As soon as I click the...

View Article


Recommended approach to buttons resize

Hi All! looking for solution how to set up buttons in menu to : 1) resize them fir different mobile screen sizes 2) prevent overlaps, spaces and other artifacts example with anchor = center - either...

View Article


How to reference TMPRO button

Well this isn't clear to me Looked high & Low How does one reference a "Button - TextMeshPro" I know "Text - TextMeshPro" is: .GetComponent<TMPro.TextMeshProUGUI>() and even a "dropdown -...

View Article

Simple HTML renderer for TextMeshPro?

I'm looking for something to render very simple HTML (paragraphs, images, links, maybe <pre> and tables) for use in in-game help and news. I'd prefer not to rely on native web view components,...

View Article

Simple HTML/MarkDown renderer for TextMeshPro?

I'm looking for something to render very simple HTML (paragraphs, images, links, maybe <pre> and tables) for use in in-game help and news. I'd prefer not to rely on native web view components,...

View Article


TMP Blocky text sometimes after updating project from Unity 2018.3 to 2019.1

Windows 10, Unity 2019.1.4f1, TMP package manager v2.0.1 & v2.0.0, doozyUI v2.9.4 View attachment 428983 View attachment 428986 The bug occurs in play mode on instantiated notifications containing...

View Article

HUD blocking Physic.raycast

Hi. i have a problem with this. I select things in the game with a physic raycast from the camera. And, if i click in the HUD, and a go its under the hud. i click in the hud and select the go at the...

View Article

Color Picker

I created a color picker for anyone to use. GitHub Repo View attachment 111810 Should be really easy to use. Just add the prefab to the canvas, hook up an even, and it's good to go. Code (CSharp):...

View Article


TextMeshPro/RectTransform GameObject localPosition is being reset

I just tried upgrading to unity 2018.1.3 from 2017.1.3p4, and I am having an issue with TextMesh elements where transforms are being cleared. This appears to be due to the attached RectTransform and...

View Article


Bug with nested strikethrough color

While doing some stuff with styles in TMP v1.5.0.preview.5, I found a bug where the strikethrough color does not match the color of the font. I set up this style called "discounted" like so: View...

View Article

TMP_Text colors reset when moved

I've been struggling with this issue for a while now- Essentially I have a TMP_Text object. Then (like in TMP example 23), I am setting the character's vertices colors to a specified color. However,...

View Article

Create UI health markers like in World of Tanks

Hello! So currently I'd like to make HP bars for my players. Obviously, first thing that comes to mind is to make world-space canvases and put them on top of my players. Thing is, when looking at them...

View Article

Tab between input fields

I have a simple login form with email and password input fields next to each other. Now I set up 2 input axes called UI Horizontal and UI Vertical and set them as navigation axes in the Event System....

View Article


Generate Font atlas and Save Automatically

Hello, I am using TextMeshPro in my project. My game supports Chinese, I type the Chinese characters mostly in the scripts, not in the input field of a TextMeshProUGUI component, so I can't use the...

View Article

IndexOutOfRangeException: Index was outside the bounds of the array.

View attachment 325423

View Article


Chinese font not being created correctly.

Hello all, I am having some issue with using Font TM Pro to create Chinese font to display. The font I am having issue is "PeacePosterBoldFigure". The font states that it supports traditional Chinese...

View Article

TextMeshPro.SetText() method doesn't set text properly

This post is just informative, and I hope it will help someone to avoid 1 day of time wasting. I even couldn't imaging that text engine could have buggy behaviour in the main method. So, what's the...

View Article


Version 1.5.0 & 2.1.0 Preview 5 - Now Available for Testing!

Link to the previous sticky post with introduction video on Dynamic SDF. The preview release (beta) of the TMP package version 1.5.0 for Unity 2018.4 and version 2.1.0 for Unity 2019.x are now...

View Article

Ways to make text uppercase

Hello, Endless Legend uses upper-case text in many places (example: The explanatory text under "New Game" in the title screen). However, in the game's resource .xml files, the text is stored with...

View Article

Image may be NSFW.
Clik here to view.

UI Button Hitbox is off

I've been working on a game for about 6 months. A few days ago I noticed that my UI button hitboxes aren't lining up with the buttons any longer. I checked my last publish out to Kongregate and the...

View Article
Browsing all 23263 articles
Browse latest View live


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