Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ngui]

NGUI is a GUI toolkit and event framework created for the Unity3D development environment. Questions are categorized by NGUI if they involve using or creating models with the NGUI software, Unity3D without NGUI does not.

1
vote
1answer
43 views

Variable from class doesn't show in editor

this may be another beginner question. I have a simple data holding script and want to pass one variable from it as parameter to a function. But in the editor it only shows me the script name, not the ...
0
votes
1answer
47 views

unity UI limitation for tutorial purpose

i want to add a tutorial part to my game that i make by unity.i have some panels that for tutorial purpose i want to limit user to just click a button.most of games make a dark panel over all places ...
0
votes
2answers
47 views

How to correctly combine scoreboard data?

I need a help with a scoreboard I am making. Here's the scoreboard I want to achieve: I actually have 4 tables and each tables has its own scoreboard but for this question only one table matters. ...
0
votes
1answer
21 views

Attach the UIButton to Component Via Script (C# Unity)

I want to attach the UI to the MC_Streaming Option Script via Code . What i wanted here is that this live_onOff will go to the Livestream(MC_Streaming Option) ...
3
votes
0answers
42 views

Send mesh to a video card with the help of ngui instead of DragonBones in Unity

I am working at the project. It is pretty huge. And there is ngui at its core, so I can not go away from it (from ngui). Now I am assigned to incorporate the DragonBones into the project. There are ...
1
vote
0answers
16 views

Animate an element from ngui in Unity

How can I animate an element from ngui in Unity? For example, how can I move it from the left to the scene when the button is clicked?
0
votes
2answers
335 views

All sides shadow outline in Unity NGUI

How can I make such exactly the same shadow using NGUI?
1
vote
0answers
355 views

Set sprite for UI2DSprite from NGUI at runtime

How can I set sprite for UI2DSprite from NGUI at runtime? This is what I tried: ...
1
vote
0answers
96 views

Create button in NGUI

I try to create a button with the help of the NGUI. Here are screenshots of me doing that: So the problem here is the next. When clicking play button in game mode I hope to get the following line in ...
0
votes
3answers
826 views

Canvas not filling up the whole screen in Unity 5

I am trying to make my canvas auto resize to any screen size. These are my canvas scalar settings: UI mode: change with screen size match height and width reference resolution: 600x800 I looked up ...
0
votes
1answer
309 views

NGUI sprites become blurry on android

I have this screen in the editor made with NGUI and 8 sprites: But when I build it for android and open the game the same sprites on the screen looks blurry I don't know what could be causing this, ...
2
votes
2answers
895 views

Unity NGUI Arial Label looks different in iOS after updating Unity to 5.1.1

I am using NGUI and I have a UILabel. It uses Unity dynamic font Arial. Bold. No effects. This is how it looks in the Unity editor: And that's how I want it to look. When I build it in iOS, it looks ...
4
votes
2answers
3k views

Can't clip a sprite that has a custom shader in NGUI

I am using NGUI. I have an "NGUI Unity 2D Sprite". This sprite has a material with this shader: ...
2
votes
1answer
3k views

Making a 2D sprite move in a curved jump in Unity

Given a 2D Sprite (I'm using NGUI if it matters), what is the simplest way to move it to another position using a curve that resembles a jump? When I used cocos2d, ...
2
votes
0answers
1k views

Create an atlas texture in photoshop to use in unity

To create a button in NGUI looks like we need to create something called Atlas that is a material that contains a lot of little images called ...
2
votes
1answer
3k views

Get mouse/touch position for NGUI event

Since I am using NGUI, to capture mouse events I use their methods such as void OnPress (bool isDown) { } How can I check the mouse/touch position that ...
1
vote
1answer
831 views

Problem with NGUI Unity 2D Sprite across devices

I have a problem with NGUI for Unity, using the Unity 2D Sprite objects. First, have this image: And then create an ...
0
votes
1answer
288 views

Migrate from NGUI to Unity UI

I used NGUI 2 and NGUI 3 for our UI. Now want to upgrade to Unity 4.6 and migrate all NGUI to Unity UI. Is there any tools? What's the best practice?
0
votes
2answers
935 views

Unity Button Without an Image?

I want to create a button whose clickable area is only specified by a BoxCollider with Unity's new UI (similar to how you would do it from within NGUI). I can't get a Unity Button to work without the ...
0
votes
1answer
191 views

Unity: Built In Scrollable Containers?

Is there a way to get a scrollable container in Unity without purchasing a plugin such as NGUI or TK2D? I want to create a scrollable container of interactive elements that can be clicked on ...
0
votes
2answers
1k views

How can I disable an NGUI button when I pause my game?

There is an NGUI button in my game, which when pressed increases the player's power. When I press the escape key, my game pauses completely. But the button still functions normally. Here's how I ...
3
votes
1answer
762 views

NGUI Texture Background Font of Sprite

I am new to Game Development and using NGUI plugin free version. There are few sprite images in my game. I made them prefab and instantiated at runtime. then I created NGUI Texture and Made it ...
0
votes
1answer
638 views

How to show NGUI menu in the upper of a Game Scene?

I am new to Game Development. I made a menu with NGUI plugin. I have a background image in the behind of this menu. Now, I want to place my Game Scene in place of the background image. I have tried in ...
1
vote
2answers
1k views

Is Unity NGUI still that usable after Unity has add support for 2D?

I am tempted to refactor out the existing component which uses NGUI ("Next-Gen UI kit") given that what I needed is only the sprite and texture atlas. Since in the newer versions of Unity those ...
0
votes
1answer
399 views

Unity display message upon keypress?

Hi I'm trying to get NGUI's HUDtext to display a set of text message one of which being "Try using WASD to move" and displaying "Well done!" upon input of any of the four keys. Unfortunately I'm not ...
0
votes
1answer
2k views

Can I use clipping with Unity Sprite in NGUI?

I used NGUI free version (2.7) with Unity 4.3. I have tried to use clipping to restrict the area of viewer by using clipping to hide some content of Unity Sprite. However, it did not work. If it's ...
1
vote
3answers
6k views

Going from WPF to Unity3D, how to implement the MVVM-pattern?

I've been working with MVVM in WPF for a long time and I'm now trying out Unity3D for a GUI-driven application. Can I work with view models and bind them to properties in GUI-components? I guess the ...
2
votes
2answers
6k views

Prevent GUI Clickthrough

I'm using NGUI to setup my UI in Unity. Attached to the MainCamera I do have a script to rotate the camera view by clicking and ...