Unity3d GUI modal window - prevent mouse clickthrough
I have a main script that is attached to the "world" (root) object on the scene and is responsible for global things such as global key events, displaying debug GUI, etc... Code (CSharp): Â void...
View ArticleUI.Dropdown broken on iOS? (Unity 5.5)
I've been trying porting our project from PC to iOS, and I'm seeing a problem with the Dropdown UI component. When tapping on the dropdown, I get this error in Xcode, and the component fails to lay out...
View ArticleBitmapFont renders without [space] char - only advancing to next char.
I made bitmap font with inversed graphics where every char has some pixel graphics incluting [space] char at 32 index. It renders good as a ttf font. I use BMFont to generate PNG+XML for my bitmap...
View ArticleUI and masking 3d meshes in a scrollrect
So I am basically trying to do this http://answers.unity3d.com/questions/998203/mask-3d-objects-inside-ui-scrollrect.html....i have scrollrect with buttons and each button has a different 3d object on...
View ArticleCustom Button Out of space
Hi there, I was trying to add some buttons over a picture in a canvas. What I wanted was these buttons to have specific appearance, to match the picture, so using photoshop, paint, etc I created my...
View ArticleCanvasRenderer crashes Unity when given a mesh that has submeshes & more than...
I'm running into a very inconsistent crash when using the canvas renderer to render a custom text component. In my text component, I normally just render using a meshfilter and a meshrenderer. Setting...
View ArticleCanvas and mouse detection issue
The canvas UI collision is not working properly with the raycast of the mouse. Visually the UI elements are much smaller than their collusion detection area. I don't know what is wrong. I might have...
View ArticleMy Canvas in "Screen Space - Overlay" mode is not on top
I have a Canvas in Overlay mode in my scene and I still have to put scene objects at positive Z values to get them behind the canvas, otherwise they render on top of the canvas. According to the Unity...
View ArticleUI elements are showed like crossed rectangles..
All UI elements are showed like crossed rectangles.. If use UI Text all letters showed as rectangles, same with image and other UI elements... Dont know how to fix it, tryed to reinstall Unity but...
View ArticleUI Navigation not working on XBOX console (using xbox controller)
Building a test project from Unity onto XBOX, running in windows mode the controller can navigate through the UI buttons with left direction stick. However, when build to XBOX, the controller cannot...
View ArticleUnity UI will not select 'first selected' button when deployed onto Xbox One,...
So, I've set up a basic main menu for my game using unity UI buttons and set the top-most button to be the 'first selected' in the EventSystem object. When I run the scene in the game view, the first...
View ArticleICanvasElement LayoutComplete not actually complete
What event/callback can I use to know that a Canvas has completed its full layout? Simply registering a ICanvasElement and responding to the LayoutComplete is not enough....
View Article[Solved] Dynamic Blurred Background on UI
HI, Ive been searching the web on how to blur the background of a UI element dynamically (not a static image) using uGUI in personal edition like this but have not found anything easy to follow Does...
View ArticleFit to size of UI element with child Text, if child text transform is scaled?
So is there some way to scale panel to fit child text size, if the text object is scaled? (and text gameobject has to be scaled to get smoother font..) here's my hierarchy: Canvas - Panel < this...
View ArticleHow do you get an image to Preserve Aspect and Fit To Parent properly?
Maybe I have a fundamental misunderstanding of how to size an image (which I'm using as a menu panel) in a Canvas in Unity, but I can't find a solution to the issue of making such a panel always be as...
View ArticleLayout Group won't react to scaled children
Hi guys, hmm... I'm a bit confused. The layout group doesn't seem to react to scaled children... (Example with a - Vertical Layout Group containing 4x - Background Image + Horizontal Layout Group +...
View ArticleShared Materials with different Properties
Hey, I wrote a shader for uGUI which has some properties. When I assign the material with the shader to two images and change the properties, both Images are affected of course. The easiest solution:...
View ArticleHow to load images from php dB?
I m trying to create a image gallery. And want to retrieve the images from the php dB as thumbnails. But I m not sure how to retrieve these images using the www class. Also is there a way to arrange...
View ArticleInput filed - fit to content
In unity 4.6 there is no something like text area. I use input filed (multiline new) nad scroll rect. I need input filed change its height when there is to much text. I tried to use content size fitter...
View Articlescrollview mask scrollview doesnt mask the inputfield selection and the caret
Hi, Got problems with input selection is not affected by masking. Problem is better described in the issue: https://issuetracker.unity3d.com/is...-mask-the-input-field-selection-and-the-caret I don't...
View Article