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

Is it fine to put all objects on Canvas?Does it affect Game Performance?

Hello guys I want to ask,is it fine to put all objects on Canvas?because I'm abit confused about how to rescale object based on screen resolution and canvas has the answer for me(canvas scaler).But...

View Article


Multiple processing InputModules

I'm trying to port our current UI solution over to uGUI. We require being able to use multitouch and mouse/kb input simultaneously. It appears that only one InputModule cause events at a time. Skimming...

View Article


Change the Value of a Toggle without triggering OnValueChanged?

Can You change the value of a toggle without having it call it's OnValueChanged functions? When the user presses the toggle i need some code to happen but sometimes i need to change the Active state of...

View Article

Converting Arrow Key to Left Right onscreen buttons

Hello every one i want to change my arrow key movement to onscreen buttons please can anyone help me i m stuck up with this ;(. YOU CAN check the screen shot which i attached. my scripts is using...

View Article

UI "Storyboard"

Hello In my game, i want to have multiple UI that on iOS could be called as Storyboard (my game (if i finish it lol) will be iOS/Android/PC) but how to implement that in Unity ? Should i create one...

View Article


InputField - How to display text as currency?

Hi all, I've researched this for some time, just running in to road blocks. I'd like to format the InputField text as it is being typed as currency. So far, I've tried multiple attempts using different...

View Article

Layout Element - cannot turn on Preferred Height

I'm experiencing a weird bug with layout element, best shown in this video: https://www.dropbox.com/s/0ljnx3a394awzrx/LayoutElementBug.mov?dl=0 ....naturally, "Preferred Height" is exactly the element...

View Article

Infinite Scroll Rect & Center On Child

Hey, I basically have two issues after i've moved from NGUI to UGUI: 1) How to achieve infinite scroll rect? 2) How to achieve centering / snapping on child elements inside the scroll rect (This is...

View Article


Interactable Button Stays Dim

I have a fire button that is disabled when you're out of ammo, and becomes enabled when you find more ammo. Sometimes however, the button retains its dimmed disabled look after its interactable has...

View Article


Multi-touch uGUI

Hello, I have been using NGUI for years and am making the cross over to uGUI. I have a control on the left for vertical thrust and one on the right for horizontal. I cannot figure out how to make it...

View Article

Inputfield: Japanese symbols not appearing when IME used on PC (works on Mac)

Hi! I have an inputfield in my game Her Story in which the player types text search strings. Currently when I do this using a Japanese IME on PC, the Japanese words don't appear until I hit Enter, or...

View Article

Image may be NSFW.
Clik here to view.

Anchor more than 2 target

I used to use NGUI before switching to uGUI. You can anchor a widget UI to more than 1 target (no need parent) with NGUI. But If use uGUI, I just can anchor it to parent only. I want to anchor my...

View Article

[5.2] Caret missing in InputField (even in the default one)

The caret is always missing in our InputFields since the update to Unity 5.2. The caret object is still created by the InputField and contains the usual Canvas Renderer and Layout Element components,...

View Article


Passing an event through to the next object in the raycast

I have a UI where there is a ScrollRect. Inside the ScrollRect are individual items with their own handler for drag events. The problem is that only one drag handler gets called, the first one that the...

View Article

Layout Group and ContentSizeFitter in child

Hey everyone ! So, Here is a graph of my UI : View attachment 147646 . Basically, every Element is an expandable element and the list of elements is dynamic. I need my red RectTransform size to be...

View Article


CanvasScaler current scale?

It seems like this would be obvious, but I can't seem to find out how to get this number. For instance, if the reference resolution is 1920x1080, and the current resolution is 960x540, then the current...

View Article

Upgrading to Unity 5.2 - UI Problem with Raycast Target

Hi, Maybe I'm misunderstanding something simple here, but I just upgraded to Unity 5.2 this morning and I'm now having several issues with many of my UI buttons. After troubleshooting for about 3 hours...

View Article


How to: text gradient fill?

I want to make similar effect we had in DF GUI, where text color can be gradient. I'm using custom material with build-in UI/Text shader, changing it to something like this: half4 frag (v2f i) : COLOR...

View Article

Image may be NSFW.
Clik here to view.

LifeProTip: Cannot expand anchor points? Check to make sure RectTransform is...

I cannot seem to drag the anchor points out anymore. Switching to Rect Tool doesn't show the 4 blue corner points. "What gives?", you may ask. In the RectTransform, check to make sure if the values in...

View Article

How to make scrollview panels without showing scrollbars?

I want to make a slideable (Spelling is correct?) panel without showing any scrollbars in Unity UI. It's the type of slideable panels where the user would drag with the mouse left, right, up, or down,...

View Article
Browsing all 23263 articles
Browse latest View live


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