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
2 answers

Unity3D/NGUI UI elements drawn at wrong location

I have a curious problem with rendering the actual content in NGUI widgets when the underlying panel is moved. For some reason, the content itself doesn't update to correct position even if the bounds are. First image is how it should be and second…
Mayoneez
  • 441
  • 5
  • 19
0
votes
1 answer

Automatic Scrolling as it receives the objects

I have some pop up buttons on my scrollview. When hit play ,buttons pop up and if done manually scrolling is also supported. But what I am trying to bring is when my scene loads both my buttons and scrollview should work simultaneously i.e buttons…
RIchsa
  • 1
  • 1
0
votes
0 answers

NGUI UISprite sprite Not Shown If Shader is Unlit/Transparent Colored

I have a problem to display the sliced sprite from atlas in the grid, the shader is using Unlit/Transparent Colored. All sprites were not shown, as this: When i changed the shader to Unlit/ Transparent Cutout, the sprites can be shown, as…
Rui Huang
  • 382
  • 1
  • 5
  • 18
0
votes
1 answer

Parse.com retrieving count of last day sale in unity

I'm trying to show count from a parse class into label but the following error is occurring: "CompareBaseObjectsInternal can only be called from the main thread. Constructors and field initializers will be executed from the loading thread when…
0
votes
1 answer

not found uisprite spriteName in atals

if not found uisprite spriteName in atals, i want to show another spritename , what can i do? please give me some advice,Thank you! string aSpriteName =…
Alice Chen
  • 231
  • 1
  • 2
  • 11
0
votes
1 answer

NGUI set default object in the scrollview

I am making a select wheel using NGUI scrollview and "UICenter on child". It works perfect as it is, but I would be like to be able to, when fired, to set a default item as the "selected / center" child? How can i accomplish that? Is there a…
Mansa
  • 2,277
  • 10
  • 37
  • 67
0
votes
1 answer

How to determine active child and get data in NGUI

I ma trying to create an "SELECT" like wheel in my game with NGUI. I am doing so by creating a panel with a "center to child" attached to my scrollview. So far so good :-) Now, I can't figure out how to determine which listitem (gameobject) is…
Mansa
  • 2,277
  • 10
  • 37
  • 67
0
votes
2 answers

How to identify the different prefab items in Unity3D?

I have defined a prefab with name is "Item" and contain in Resources Then, I load that prefab in GUI (Unity3D) Object prefab_item = Resources.Load("Item"); GameObject g = Instantiate(prefab_item) as GameObject; g.transform.parent =…
0
votes
1 answer

ngui dynamic text advice (from a noob)

Sorry in advance, this is an extremely noobie question (but i'm just getting into NGUI with unityscript and can't find many answers/tutorials/docs).. Also my untiyscript skills are sub-par. I have a TCG/Playing card game object with some basic RPG…
user3205282
  • 43
  • 1
  • 6
0
votes
1 answer

Scroll to the object in my NGUI ScrollView with c#

I am trying to create a chat and it works ok except when there are more posts than can fit in the view. So when I open the scrollview it always start at the top, but the latest chat is at the bottom and I should be starting there. I have the same…
Mansa
  • 2,277
  • 10
  • 37
  • 67
0
votes
2 answers

Missing Asian Characters on Android 5.0 Devices

I'm using Unity4.5.4 and NGUI 3.6, and want to support multi-languages. When I try on devices using Android 4, it is totally fine. When I install the same build on Google Nexus 7 using Android 5.0, English version is fine, but almost all the Asian…
Leon Liu
  • 1
  • 1
0
votes
2 answers

NGUI avoid line-break in UIInput

Is there any way to avoid users to input line-breaks in UIInputs? Do not want the user to be able to write line-breaks in username inputs, for example. I searched for multiline attribute but it seems it only exists in UILabel objects. Tried…
Kane
  • 375
  • 1
  • 6
  • 18
0
votes
1 answer

How to change UIRoot scale?

I'm using Unity3D with C#. Also, I'm using nGUI 2.7.0 for UI. When I create new UI my UI Root (2D)'s scaling is like 0.005633803 on all axis. I can't change it's scaling in inspector. How do I do that? The problem is, it's children, menu items, are…
Dino Velić
  • 888
  • 11
  • 24
0
votes
1 answer

How to add an extra button above the TouchScreenKeyboard in UIInput NGUI?

My game uses a registration form scene in order to register a user. I've got several Textboxes(UIInput) on screen. I would like to have Next/Previous Button over the keyboard which appears when i select a text box for input. this way i will be able…
Pawan Joshi
  • 1,581
  • 3
  • 20
  • 40
0
votes
1 answer

How to bind ngui events in StrangeIoC in unity3d

I have some problem with binding ngui events in the StrangeIoC framework. This is an unityGUI sample: public class TestView : View { private readonly Rect buttonRect = new Rect(0, 0, 200, 50); public Signal buttonClicked = new Signal(); …
Sean C.
  • 1,494
  • 1
  • 13
  • 22
1 2 3
8 9