Questions tagged [ngui]

NGUI is an addon for Unity3D supporting developers to build enhanced UI systems like menus. It supports building powerful GUIs while rendering all elements within one draw call.

Citing from NGUI's web site http://www.tasharen.com (Oct 9, 2012):

NGUI is a powerful UI system and event notification framework for Unity (both Pro and Free) written in C# that closely follows the KISS principle. It features clean code and simple, minimalistic approach to everything. Most classes are kept under 200 lines of code. For a programmer this means a much easier time when it comes to working with the kit — from extending its functionality to tweaking the existing one. For everyone else this means better performance, less frustration, and more fun.

128 questions
0
votes
0 answers

Why I can't update UILabel's localScale if I assign Vector3 directly?

Why I can't update UILabel's localScale if I assign a Vector3 directly? It works well if write it in the following way: label.transform.localScale += new Vector3(3.5f, 3.5f, 3.5f); But it doesn't work with following ways: label.transform.localScale…
Jane_Meng
  • 749
  • 1
  • 9
  • 18
0
votes
1 answer

Placing 2d on a grid in Unity3d

I built a small MapEditor for my game in XNA. Now I want to build it in Unity3d, except I don't really understand how this works in Unity3d. So basically what I want is to create a 2d grid, where I can dynamically add tiles to the grid. Each tile…
DijkeMark
  • 1,284
  • 5
  • 19
  • 41
0
votes
2 answers

Relative UILabel in a game object

I created a game object which acts as a repeating item for a UIGrid which I populate dynamically. The gameobject (RowItem) has couple of UILabel whose text can change on runtime depending on the content. The content of these UILabels overlap when…
Ashwani K
  • 7,880
  • 19
  • 63
  • 102
0
votes
1 answer

Font creation using NGUI in unity3d

I am new to NGUI concept in unity 3d. i tried to create a new font using NGUI, But failed. Can you explain how can i create a new font using NGUI. I have to make goonspectreTBS font. Waiting for positive response. Thanks in advance.
Sona Rijesh
  • 1,041
  • 7
  • 32
  • 62
0
votes
1 answer

problems with yield in unity

I have a function to make a simple menu animation in NGUI. It seems to work great, but when I go ingame and then return to menu, the function is not working properly. IEnumerator MenuTransition (GameObject panelOut, GameObject panelIn) { foreach…
-1
votes
2 answers

Click Event Always getting only the last instantiated object (C# UNITY)

I know this maybe a duplicate of How to detect click/touch events on UI and GameObjects but I tried actually what's in there . But my problem still exists. Here's my code GameObject o = null; private void Start() { for (int i = 0; i < 6; i++) …
Ketskie
  • 15
  • 7
-1
votes
1 answer

unity3d ngui button gone/icon,image blurry

After compiling/building my apk my button is gone and when I see it in my sprite list all my buttons and icons are blurry, I don't know what the problem is. If I start over again this will be my 3rd time. button gone; icon is blurry; This is what…
Kira El
  • 1
  • 3
-4
votes
2 answers

Cannot implicitly convert type 'string' to 'UIInput'

I have problem converting type String to UI Input in Unity3D. I want to retrieve the information from database and place them in a textbox (UI Input) This is the error message. (1st error) "Cannot convert method group ToString' to non-delegate…
Sarah
  • 11
  • 2
  • 7
1 2 3
8
9