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

[Solved] Custom LayoutGroup repositioning child at unexpected time in...

Edit: So it turns out I'm just a huge dingus and had some conflicting code on the object itself that was also trying to move it. I thought I'd accounted for it, but I didn't. Nothing to see here folks!...

View Article


Selecting gameobjecs in editor scene is messed up on UGUI?

Is it just me or is everyone having problem selecting UI elements(gameobjects) in the editor scene when using UGUI? I'm using 2D view and when I click a gameobject in the editor scene, often a...

View Article


Clock style progress bar or health bar?

I have a question about progress bars guys, I found a great tutorial that explained how to do really basic bars which I like a lot but I'm now curious about all the other stuff, for instance, how...

View Article

Boxcollider 2D blocks world space canvas

Hi guys, i have a problem which it seems i'am unable to solve. I'am developing a 2.5D point and click game. Point and click works with Box Collider 2D-s on the clickable surface, then ITween from...

View Article

Script to change between canvas.Yeah I know ...

Hi guys ! My first post here! i started coding/using unity about a 2 week ago (nerver code/use any programing language before) and i try to don't use any help other than tutorial and api but am really...

View Article


Image may be NSFW.
Clik here to view.

UI Text Position to GameObject position (Pixels to Units)

Hello there. I am trying to make score boards. The problem is I have no idea how to make UI Text stay at the same position as a score board. Here's example of what I mean. At the certain resolution the...

View Article

Rich Text custom text formatting with non-system font

I'm having issues getting a non system font working with rich text. I have the fonts split into seperate files, a regular font a bold font etc. When trying to make part of the text bold, it doesn't use...

View Article

Content Size Fitter center UI Text.

Hello, I have made something like Log Panel that shows what we did, i.e. we have attacked enemy so we get output: "You have dealt xxx damage". And every message is on new line. I have scrollbar and...

View Article


EventSystem Current Selected Gameobject is null on click?

So I've made a gui button in a canvas and the OnClick() function runs a method in a script to output in the console the current selected gameobject: Code (CSharp):     public void...

View Article


Multiple Language with multiple fonts

Hi All I am creating a game with Chinese, English and Japanese. Since they have different fonts, how do I switch it over from one to another for UI Text? Am I need to hard code one by one myself or...

View Article

Image may be NSFW.
Clik here to view.

Scroll Rect seems to block buttons that aren't top level.

Im trying to create a nice scrollable store in unity, but I'm having issues with the way scroll rect handles buttons. I've got a scene set up like so: Where Scroll View is a game object with the scroll...

View Article

Image may be NSFW.
Clik here to view.

unity ui Layout Element Max Size

In unity ui , LayoutElement has min , prefered and flxible size . but do not have max size property . for Example if i have a text1 and layoutElement.flxibleWith = 1 layoutElement.minHeight = 19 but...

View Article

Unity UI causing crash IOS

I have a finished product using NGUI, I was planning on upgrading my scrollview using Unitys UI system, however when I tried to open up the upgraded scene on my IOS device, it always causes my game to...

View Article


Buttons are not working with my GameManager script, after scene load.

Hello, I am making a 2D remake of an old arcade game. In doing so, the first scene creates a GameObject called GameManager. This script is responsible for keeping track of what level the player is on,...

View Article

Graphing?

Hi, What's the best way to draw an in-game graph? Is this possible now, using the new UI? Thanks! -Chilton

View Article


Sprites on top of UI

Hi. I'm working on a game similar to this: https://lh6.ggpht.com/4e50gB9dwwuWGLuN-aOoIR8FVOYaWR6o6egmTZllujCX87BKM9zUesM9W9xBFBYqrg=h900 In a way the game is physics based, the actual board has blocks,...

View Article

Image may be NSFW.
Clik here to view.

How to create a 9-sliced sprite and use it on new gui

I did the slice in the sprite editor and the different parts appear like in the image below, what am i missing (click to enlarge):

View Article


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

[WebPlayer] Opening new tab using a button and focus issues

Hi there ^^ So here's my problem, i have a webplayer / webGL project, where i can open new tabs clicking on a button. But when i do, the button is stuck in "pressed mode" (unless i go back to my game...

View Article

UI Button and Color Tint Transition issue

Hey everyone, I found a strange behaviour concerning UI Button color tint transition. From what I understand, if I use a white color for my UI Image, the transition colors configured in the button...

View Article
Browsing all 23263 articles
Browse latest View live


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