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

Test if UI element is visible on screen

Hi, I am trying to test if a UI element is visible on the screen. Im currently using a Image control, and would like to know if its visible by the camera, or if its outside of its bounds. I cannot seem...

View Article


Change the Default UI Material?

Is it possible to change the default UI material to use a different shader? Or is the only way to specify an override material for every Graphic in the scene? I'd like to experiment with adjusting the...

View Article


Image may be NSFW.
Clik here to view.

Keep text inside button or panel

Hello! I don't have much experience with UI and I had a quick question about using TextMesh Pro with existing Unity UI: How do I keep TextMesh Text Size so that it's kept within a button or panel ? As...

View Article

Problem with TextMesh Pro (Script) being empty in Inspector

I am trying to use TextMesh Pro with Unity 2017.2.0b11 and I am running into an odd problem. According to the Zolran tutorials, when I create a text as either a 3D object or a UI object I should have...

View Article

Upgrading to TextMesh Pro v. 1.0.56.0b2 seems to have broken project

I just updated to the latest build of TMP (free version) from the Asset Store. Upon doing so, all my TMP - Text scripts attached to objects are broken. Clicking on a GameObject that has the TMP script...

View Article


Applying prefab with inactive children and TMP element breaks layout

I'm facing a bug with UI + Text Mesh Pro where when i apply a prefab it will break layout settings only if i have UI gameobjects disabled. Attached is a sample project and here are the reproduction...

View Article

Open Source Scroll Snap Project - Unity UI Scroll Snaps

Unity UI Scroll Snaps Unity UI Scroll Snaps is a new open source project focused on creating robust components for all of your scrolling and snapping needs. This was originally inspired by an idea I...

View Article

After update, TextMeshPro components no longer available

Greetings, I have installed TextMeshPro (already the free version) a while ago on a pre-2017.1 Unity version, and am using it in my project (DLL name is TextMeshPro-1.0.55.56.0b9.dll). Now I have...

View Article


Can the UI buttons detect a right mouse-click?

I'm instantiating buttons and adding listeners to detect when they're clicked. But I've noticed that this method only seems to detect a button-click if it came from the left-mouse button. The button...

View Article


How to Tween alpha of an image?

On NGUI it was done with TweenAlpha.Begin(). How to fade in an image in new (awesome btw.) UI?

View Article

Overlay canvas and world space coordinates

I'm looking for good and reliable ways of translating coordinates between screen space (and overlay canvas) position and vice versa, that also take canvas scaling into consideration. My common use...

View Article

Image may be NSFW.
Clik here to view.

Car showroom - displaying different data for each car

Hi there, This is my first post after recently installing Unity for the first time. (really enjoying getting familiar with the software) I've been watching lots of tutorials and reading the...

View Article

(Android) TextMesh Pro InputField is showing password on keyboard

I'm trying to do some password inputs on a Android app, but everytime I select an InputField with Password option, the Input Preview from the keyboard always shows what I'm writing. I tried the Secure...

View Article


Content size fitter inside vertical layout group

I have a scroll rect that contains a vertical layout group which contains multiple text elements. This works fine when each text element has a predefined height, but what I'd like to do is put a...

View Article

How to change anchors to center in code but keep object in same exact place

I have some UI Images in a scene that have their anchors at their corners, in order to have them be in consistent positioning across resolutions and devices. I want to change their anchors to center in...

View Article


[Solved] UI Button not working at all

My button won't even highlight on mouse over. I have an EventSystem. Tried with the EventSystem option Force Module Active. I have only one Canvas. The Canvas has a Graphic Raycaster component. Canvas...

View Article

UGUI text broken

I used dynamic font in my project, when many Chinese character text show on UI, the font texture rebuilding, and the text uv wrong,All the text broken. I Used Unity 5.2.3p3, Can someone help me ? Thank...

View Article


uGui fonts in linear color space

Has anyone else tried to render fonts when linear color space is enabled? I noticed that rendering is totally wrong. White text on black background looks like it is bold, and black text on white...

View Article

UI panel and UI canvas.what are the differences between these two?

hi im a beginner in unity.UI panel and UI canvas.what are the differences between these two? when do we use canvas and when do we use panel?

View Article

Image may be NSFW.
Clik here to view.

Unity UI for VR

Using Unity 2017.2.0f3. Can I change this basic UI, that been generated by Unity. Searched all UnityEngine.XR, but can't find the solution...

View Article
Browsing all 23263 articles
Browse latest View live


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