I want to implement scrollview in Unity3D 5 UI with horizontal images downloaded from web, they have different random aspect ratios, but I want them to be constant height. And width to be according their aspect ratio, like this:
I tried to use…
I have a scroll rect that has input fields in it, and I would like it so that the user only sees things that are currently in it. Right now it is overflowing and has everything in it going out below it. I would like it so that these bottom fields do…
I have made list in Unity3D with ScrollView, Texts and Buttons.
When user clicks button near the item - the item should be deleted.
Buttons and Texts are created with Instantiate method.
The list of items is generic list (List).
List of…
I want to implement an image gallery with Unity (2D). I have a Canvas logically divided into squares of, say, 100x100 units. Then:
each "square" is populated by an image downloaded dynamically from
the internet (using the www class);
the image is…
What's the catch with the UGUI depth sorting by sibling index?
I can not see any improvement but only downsides to this
For example, I have a game with a scrollRect that is using several objects.
My objects have a few images and some text.
If you…
Goal
Get a gif working in unity from a URL, I am currently using the WWW class. I am currently getting a byte[] and converting it to a System.Drawing.Image. This works in the editor but not any build
Error:
"Type Load Exception: Could not load type"…
I have a canvas on the screen which for some reason is very small compared to my scene. I have a major issue placing UI components in the correct place on the canvas so that they appear in the correct place on the actual game screen.
If you take a…
I have made Unity3D game. Background texture is 2048x2048 to fit iPad Retina resolution.
But it is too much for old phones with much less resolution.
I have resized all textures and made a second folder with twice downgraded textures.
What is the…
UI mask do not work with Google's Cardboard SDK? It works properly with the Oculus Mobile VR plugin but with the Cardboard SDK the masks seem to be gone.
http://postimg.org/image/b2by7exu9/
This screenshot demonstrates it, outside of the white box…
At the user's name part(middle), why user's name has one line blank?
I wrote code like
public void SetHighInfo()
{
var high = HighScore.Instance;
rankText.text = "";
nameText.text = "";
scoreText.text = "";
for (int i = 0; i <…
I am trying to create ui animation from code. Position animation works fine, but rotation curves created wrong.
rotation value changing only in last frame. why?
var angle = Quaternion.Euler(FadeOutEndAngleX, FadeOutEndAngleY,…
I am trying to make a custom list in ScrollView, but I can't manage to do it in new UI.
I have a prefab that is a Panel with 5 Text elements side by side. Now, there is ScrollView on scene with one horizontal and one vertical Scrollbar and I want to…
I have a game in unity where I instantiate a TouchScreenKeyboard:
keyboard = TouchScreenKeyboard.Open(
"", //text
TouchScreenKeyboardType.Default, //type
false, //autocorrect
true //multiline
);
Later, in Update(), I run the…
I need to create random-shaped (could be rectangular or circular) border for my UI, which can change its size, thickness and color of line. What approach to choose?
9-slice scaling texture is not an option since I need to change colors of line and…
The material added to the UI Panel is working in the editor window but not working in android build. How to fix this?
Editor Screenshot
Android screenshot
Note:
I have tried adding a shader to "always Included shader" list in the project setting…