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

Transparency generated around text on render texture

Hi, I wanted to project my User Interface onto a surface in the 3D scene. To do this, I set up a second camera (orthographic) and place all UI elements in front of it, on 3D Canvases. The second camera...

View Article


Canvas Scaler Scale With Screen Height Font Size Changing

I am building a 2D menu in in Unity 5.3.4f1 Personal. My current approach with menus is to design everything at a standard resolution, then use canvas scalers attached to my canvases. The canvases are...

View Article


Image may be NSFW.
Clik here to view.

Nested Scrollrect?

I'm hoping to put together a Netflix-like interface for users to select the scenes in my project. I need to be able to scroll up and down overall, but also be able to scroll rows of buttons left and...

View Article

Image may be NSFW.
Clik here to view.

[Script] Curved Layout

Here is another quicky, to create curved menus. Add it like you would any other layout group. Then set the item size, curve offset and center point. Code (CSharp):   /// <summary> /// Curved...

View Article

Interactive UI elements in First Person Game (faux emails, text messages etc.)

Hi, long time Unity user and first-time asker. I'm wondering if someone could help me with a problem. I want to have in-game selectable icons which when clicked open up a text based interface which...

View Article


EventTrigger Setup Via Script Not Working on Cloned objects?

Hello all, So I have a pretty basic tower defence game going on, there are set build points each with their own mini canvas UI for building and upgrading towers. Once you build a tower on them, they...

View Article

Unity UI best practice for images

Hi all, I'm wondering what's the best approach of providing the images for UI in Unity. At the moment I'm trying to put everything into a single spritesheet. Pros: the screendesigner can continously...

View Article

5.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 Article


UI Mask Bug -- Masks not working with certain BG Materials and Lighs in...

Hey yawl, I've got a simple World Space UI setup with a few images and a mask in a very simple scene, that apparently satan has possessed because I'm getting some weird behaviour. The mask has no...

View Article


Canvas - Sprite small...

I have a canvas, inside the canvas is a Rect Transform acting as a Container for HudDisplay which is a panel. I instantiate a gameobject that contains a sprite and set it's parent as...

View Article

Clipping on Canvas

I want to use nested canvases in my panel system. I need clipping for each canvas so that I can fit my content. There is EnableRectClipping parameter in CanvasRenderer. I understand that when this rect...

View Article

Android InputField keyboard on full screen

Hello, I'm new in Unity and I wonder is it possible to make the InputField on nGUI so it does not fill up the entire screen? Right now (in latest Unity 5.3.4) when you tap to enter text in a Text Input...

View Article

A working, stylable combo box (drop down list)

I spent most of the last two days getting a working Combo Box (aka Drop Down List) working in uGUI. However, I had some specific requirements for it that made this a lot harder than simply building all...

View Article


Does anyone know of good UI tutorial code playlists for doing UI in...

I'm having a tough time figuring out how to manage/use UI elements correctly and aslso from scratch. I cant even find good videos on it. Anyone found any for Unity5 which explain a ton of stuff about...

View Article

New 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 Article


GameObject.SetActive - Huge Memory Allocations?

So I'm building a fairly complex UI, it's a RPG UI with inventory and team management and the like. There's a lot of drag and drop, which means there are a lot of images - I'm also using masks...

View Article

StandaloneInputManager: OnPointerExit not called reliably

I'm working on a drag and drop system and I've noticed that OnPointerExit is extremely unreliable if you're moving objects and changing the game object hierarchy (reparenting transforms) or raycast...

View Article


Resizing ScrollRects

I am having a helluva time trying to get a vertical scroll list of one column of items to work. At all. I have a setup something like this, child of a root Canvas, Canvas Renderer, etc: Dialogue...

View Article

UI Layers?

I have a start page with a play button, help button and an exit button. all work fine; but the exit button menu once clicked should bring up a second menu of "Are you should you want to quit the game"...

View Article

Tooltips?

In short: How is it meant to implement Tooltips ? Is this even implemented? Or do we need to develop our own solution here?

View Article
Browsing all 23263 articles
Browse latest View live


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