How do you remove padding from Horizontal Layout Group when padding is...
This is what it looks like in the Game tab: And this is from the Unity editor: I have the 5 Attributes (Health, Attack, Speed, Merge, and Split), which are UI Panels, be instantiated when the game...
View ArticleDiscussion - Managing complex uGUI hierarchies
Hi, We are working on a game which has quite a bit of menu work in it. Ideally, we would want to create a "UI templates" collection (what a standard button looks like, what a table row looks like etc)...
View ArticleUnity UI Screenshots
Hi! Are you making something cool with the new UI? We would love to see the kind of things you are creating with the beta. This gives us an idea about what you are using it for, and helps us focus our...
View ArticleNested Canvases do not Save Anchoring Settings
1) What happened? Nested UI canvases do not seem to retain their anchoring settings (as set by the rect transform component) upon saving->reopening or hitting play. This bug is new as of either...
View ArticleInputField ArgumentOutOfRangeException
Sometimes, when typing in an InputField I get an ArgumentOutOfRangeException error. It only happens when starting with an uppercase letter. I cannot reproduce it in an empty project, so I assume I am...
View ArticleHow to AddListener() featuring an argument?
Code (csharp): // So, I can add a listener via code by method name with button.onClick.AddListener(SomeMethodName); // but can't include an argument?...
View ArticleSimple ScrollRect Tools: ScrollRectTweener and ScrollRectLinker
Crossposted from the Sharkbomb Studios blog: Working on Nowhere Prophet I built two quick tools for the ScrollRect. I wanted to briefly post them here so maybe someone else can get some use out of...
View ArticleWhat does VertexHelper.GetUIVertexStream actually do
I'm looking at the documentation for this method: http://docs.unity3d.com/ScriptReference/UI.VertexHelper.GetUIVertexStream.html The documentation is very short and says: Create a stream of UI vertex...
View ArticleChange 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 ArticleUnity UI 5.2 suddenly very glitchy
I have a project I've been working on for a while. Now I've just updated it to Unity 5.2 (first .1 now .p4) and that has caused a deluge of glitchy errors within the UI. It looks as if the atlassing...
View Article[5.2.1f1] UI Image has no longer a default white sprite with it?
Earlier, when I put a Image component, it had a white sprite by default, which I could change the color as I wish. Starting with 5.2.1f1 this is no more. Got many assets broken by that. Image component...
View ArticleSetting maximum size for Content Size Fitter
Hi, I put a content size fitter component to my Text UI element so that the rect grows horizontally when the text is longer. However, I want to give it a maximum width, which means that "you can grow...
View Article2D Menu with 3D Elements + Masking
Hello Everyone, does anyone know if it is possible to 'hide' 3D elements like a cube behind a mask which is connected to a canvas, when the cube is child assigned to an element which is hidden by the...
View Article[5.2.1p4] Image not blocking click?
I just upgraded to Unity 5.2.1p4 and I am having some issues with the UI. My parent object has an image, a button and its child object has an image. When I click on the child object, it doesn't block...
View ArticleAnimating Interactable property
Is there any way to animate the 'Interactable' property of say, a button, by using the Animator tab of the Editor? (I want to avoid using a script)
View ArticleUpgrading 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[5.2] Button Color Tint not working properly? -> BUG with linear lighting
Hi! I'm having a bit of trouble setting up the color tinting for my spankin' new button: View attachment 155598 As you can see above, the background is a pure white image (FFFFFF) and the "Normal...
View ArticleInputField caret with Canvas Scaler has wrong size and position.
When you use Scaler in Scale with Screen Size and use different than reference resolution caret has wrong size and position. I guess problem is in GenerateCursor method as it doesn't take...
View ArticleDropdown Menu issue
Hey guys I'm running the new 5.2 version with the dropdown menus, and I have it populating the option fields. And I'm able to select one and see the selection value. The issue I'm running into is if...
View ArticleImage fonts? Fontawesome?
Is it possible to use an image font like Fontawesome? I'd love to have access to all those icons. I'm using them in my current UI via CoherentUI, but am changing my UI to built in 4.6 UI as it's more...
View Article