I am using Unity3d
I've tried to track where the problem comes from and had no success. The text update in "Guess" occurs properly when done by key press, but no by clicking the button (both log in an exception).
The code:
using UnityEngine;
using…
I have created a level editor using new UI system in Unity3D.
Using Level Editor:
I can drag the ui elements,
I am able to save them in scriptable objects
But how could i save and load them at runtime?
I mean, if i create a level with some…
So I'm following a tutorial online and am 99.9% sure I have not made an error and it is perhaps something to do with my trying to implement his ideas in to an already established project with (perhaps) different concerning factors.
The general idea…
My goal was to create a Scroll Rect on a worldspace canvas but whenever I would mask out the content everything vanished. I tested on an overlay canvas to see if I was setting it up correctly and I was.
What I learned was that non-UI gameobject…
i have a problem with printing GUI elements in for loop pf OnGUI() method. In code listed below i create GUI.Label of user clicked on GUI.Box:
public List messages = new List();
int dialogueMsg = 0;
void OnGUI()
{
…
I'm using Unity UI introduced in 4.6, and the button works fine. However, I have the game underneath controlled by touch. If the user touches the left of the screen, hero turns left, if the right side, it turns right. But if the user touches a…
I am trying to alter the sprite of a nested image object within a dialog UI (Unity 4.6's UI) that I have saved as a prefab. I am able to load the prefab, but when I try to do:
Image[] imageComponents =…
I wanna ask how to create a rect and put it under the canvas of unity new ui? So this is what i made.
you can see my game controller. i put that controller on a canvas. When my "Character" goes to NPC, and going to have a dialogue, i made a…
Is there a way to set blur on the image in new UI on Unity 4.6?
I need normal image to become blurred or pixelized on button click.
I did try to use some free shader from asset store but it doesn't work on android phones.
I have a question about the way how to show simple 2d image on top of detected marker. I have followed some tutorial to show 3d model and it works fine. there is no problem with 3d.
The problem starts when I want to add normal 2d object->sprite .…
I just created a very simple 3D game, and I used Unity UI for the first time.
Inside the game editor I can click the buttons and move the sliders.
I build the game for my android,and I can see all UI elements on my device but however, for some…
Stackoverflowish question: Is my issue here a bug, or can this be fixed somehow?
Bear with me now but I'm gonna post a couple of screenshots that will show how I think there's a weird bug that only (?) affects iPhone 5 and iPhone 5s.
Confirmed…
I'm quite new to Unity, so I'm sorry if this is a basic question. I've been trying to set up the UI for a mobile game, but I'm not quite sure how to make the UI lock it's position, no matter the screen size. I've tried using anchors (though I don't…
So last night my game was working just fine. I log on today and I change an (unrelated) sprite and now for some reason the button won't be clicked in the game window during play mode. It does however work perfectly on an .exe build.
It's just the…