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

Can't Disable Canvas children gameobjects (inspector or code)!

So I have a Canvas with children being buttons, text, etc. If I select one of these children and try to disable/enable it with the inspector checkmark box, it just flickers and is enabled again...

View Article


Image/Raw Image Material works in scene, not in game. Possible bug?

Maybe I'm doing something wrong, but I can easily reproduce this. Using version 5.0.1f1. I read through the latest patch notes and didn't see anything relating to this issue, maybe I'll try updating...

View Article


Any good tutorial for dropdown component in Unity5?

I am learning this component, although the API show just the properties, methods and events,while the manual give a brief overview about how to use it. I have an enum; and I am trying to add that enum...

View Article

what i need to create scroll image ?

Hello i need to create scroll image to change image from image to another image by pressing on the arrow right and left like in the picture below i want to know how to create it there is something i...

View Article

Maximum Player Name Length

Hello, In my game, the user is required to input their First and Second names to make their player's name in the career mode. The name is displayed at different points throughout the game. I was...

View Article


[How to] Inputfield to write code inside a game

Hi, I am currently make a game that teach programming to kids. However, I have strong difficulties to create a very basic "IDE". Here is what I want to implement starting with the Inputfiled component:...

View Article

UI Animation Performance & Dirty Scene Objects

Hello, We have a fairly complicated UI system. When running the Profiler, our biggest hit is on Animator Update. Most notably in two sub categories: Dirty Scene Objects and Apply Animator Move. We were...

View Article

Staying in scene view after pressing play

Always after I press play the Editor switch to game view. But I want to stay in scene view. In the tutorial videos I saw that this is possible, but how?

View Article


Hundreds of profile pictures / user avatars

Hello, we come from a Flash background and in our lobby we show the open games with all the users that are currently playing. This easily adds up to hundreds of profile pictures if the user decides to...

View Article


Image may be NSFW.
Clik here to view.

Is it not possible to change the color of a black sprite?

I have downloaded an icon which looks like the following I attached the sprite to a button and want to make it turn white when highlighted. It's as if unity is changing the color of transparent part of...

View Article

IScrollHandler doesn't respond

Hi, I am trying to use OnScroll but OnScroll is not being called by the Event System. A ScrollRect is attached to the gameObject and main functions of ScrollRect is working fine at runtime. Here is the...

View Article

Incorrect click zone of Buttons ?

Hello, I work with new GUI for about 3 weeks, all is fine except one bug. When I launch, I cannot click easyly on Buttons : I must click in specific zone of button to have click. (it's different for...

View Article

Image may be NSFW.
Clik here to view.

Doesn't new PointerEventData(EventSystem.current).hovered work?

I'm trying to get list of all UI objects mouse hovers, but Code (CSharp): new PointerEventData(EventSystem.current).hovered is always empty, even if Code (CSharp):...

View Article


What does _TextureSampleAdd do

I'm stripping out a lot of shader code on the UI-Default shader to optimise it. Can someone tell me what _TextureSampleAdd does? Thanks

View Article

ScrollRect verticalNormalizedPosition doesn't work properly

HI everyone. I have 'ScrollView' object with ScrollRect component on it and its child's 'Content' object (and vertical ScrollBar too). The 'Content' gameobject also has VerticalLayoutGroup and...

View Article


uGUI Mask not working on Android

I have a Scroll Rect with a Mask on a Canvas set to World Space, it looks fine in Editor but on my Nexus 5 the mask is not being applied. Used to work fine before 5.2 I think but I have made a few...

View Article

Different view on Game in different Window

Hello everyone, we are building an experiment where the player sees the world through VR goggles. At the same time, the output that can be seen in the goggles is shown on the monitor of the computer....

View Article


Screen Space Overlay moving problem

So I'm building a multiplayer game in Unity involving a helicopter; in this game, I have two viewpoints: a pilot, and a gunner. I am attempting to implement a minimap in the game; to do this, I have...

View Article

Loading images into empty UI Image prefabs in the "background"?

I'm trying to script a gallery that creates prefabs based on the number of photos in a folder. Coded it to the point where the right amount of prefabs are made, then images are loaded into them using a...

View Article

Touches going through UI

My game movement is done by touching on the screen on the target location. I have added an action button to the game which the action is only allow when the player is not moving. When I touched on 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>