Questions tagged [unity3d-gui]

Questions related to the new UI system in Unity 4.6 and newer or the old GUI class.

Useful links:

134 questions
1
vote
2 answers

Render Order of Transparent Mesh on Unity3D UI canvas

I have a procedural mesh of a 2D circle attached to a ScreenSpace-Camera UI canvas and I want to render some UI text on top of it. However the UI text is always rendered below the circle despite me sorting their z-order. If I change to material to…
gin
  • 286
  • 3
  • 15
1
vote
1 answer

How to program custom buttons to navigate through scroll view created with Scroll Rect combined with a Mask

I have a shop GUI, its content in a srollview created with Scroll Rect and Mask combination and can be scrolled down and up. Right now, the scroll view scrolls by clicking and dragging with the mouse anywhere in scroll view area, or by interacting…
Acidon
  • 1,294
  • 4
  • 23
  • 44
1
vote
1 answer

How I can get uGUI event parameter?

I'm using new event system, represented in unity 4.6. Here is example on attaching listener to Toggle component. My question is: "How can I get Boolean parameter from On Value Changed(Boolean)?" Currently I'm forced to keeping link of that Toggle…
ITurchenko
  • 1,828
  • 2
  • 17
  • 24
1
vote
1 answer

UI Scroll does not work on touch Unity

I am using unity 4.6 and I made a UI scroll panel before yesterday night it is working fine but today it is not working on touch. I don,t know what is happen. I just add a different camera for canvas. Please help me Thanks Update : Added screenshot…
Sourav Mishra
  • 501
  • 4
  • 21
1
vote
1 answer

How to get all the children of an instantiated Canvas Element Prefab

I have instantiated a Scroll Rect Prefab inside a canvas and now I need to get all the children of that instantiated prefab and also the text components in each one of them. I failed to get them with the code…
Sreejit Pillai
  • 125
  • 4
  • 14
1
vote
1 answer

Related to the default iOS Keyboard that comes out in Input Filed(available in UI System)

I am working on an app for iOS Platform. i have a Input Field available in the new UI System , but every time the White Classic keyboard comes out to take input. I want to display the keyboard with a black semi-transparent background. Can anyone…
Sreejit Pillai
  • 125
  • 4
  • 14
1
vote
2 answers

Creating a flexible UI contianer for an image and a label

I thought this would be like pretty simple task to do, but now I have tried for hours and cant figure out how to get around this. I have a list of friends which should be displayed in a scrollable list. Each friend have a profile image and a name…
jake
  • 73
  • 1
  • 2
  • 6
1
vote
2 answers

Gui text does not display

I am using unity 4.6 to develop a small game. There is no gui text object in the menu. Therefore I created an empty object and added gui text as a component. But it does not display the text I type. Need help on this. Thank you
Choxmi
  • 1,584
  • 4
  • 29
  • 47
1
vote
1 answer

How can I use a model to generate a Texture image of the model dynamically. (Unity3D/C#)?

I need to know how to generate a 2D image of a 3D model(w/rotation) during game play. I am working with C# and Unity3D. [Edited for Clarity, I hope...] After a bit of research: It looks like what I want is RenderTexture. I should be able to create a…
Z30Dragon
  • 42
  • 6
1
vote
1 answer

Unity dialogue import

I'm trying to import my dialog into Unity 5. Is there some kind of default Unity function to do that? For example, importing all the dialogue from an outside source like Word, or Notepad++, and assigning it directly to all the characters…
Sasa
  • 23
  • 1
  • 1
  • 6
1
vote
2 answers

Would Unity5 Work for Data Collection?

This may be the strangest Unity question folks will ever get but bear with me. I am developing an app (so far in HTML5) that collects a lot of textual and numerical data from users. In HTML, this is all pretty straightforward. However, this data is…
Mark Brittingham
  • 28,545
  • 12
  • 80
  • 110
1
vote
1 answer

Unity3d how to change UI.Button text in code

Simple question, I am trying to making a flappy bird clone and I need help displaying score. I have the score being added and displayed to the console, but I cant get it to show on a gui text. I've tried to google how to do this and watch a lot of…
user3738071
  • 199
  • 5
  • 15
1
vote
4 answers

How to convert EmguCV Image to Unity3D Sprite?

I try to render image from the Emgu's camera capture on new Unity3D UI system. Till now, I used ImageToTexture2d from this repository:…
Janusz-kun
  • 89
  • 2
  • 11
0
votes
1 answer

How to custom the look of a class in a list/array in ScriptableObject in editor?

I have a ScriptableObject that simply have a list of object: class MyClassHolder : ScriptableObject { public MyClass[] myClass; } [System.Serializable] public class MyClass { public string key; public…
0
votes
2 answers

How to I change my font size and color with Unity GUI?

I am working on a project in Unity and I'm trying to change my font size and color of my label. I keep getting a error on line 21... I think it's not reading the colon or something. How do I fix? public class PlayerScore : MonoBehaviour { public…
user16660750
1 2 3
8 9