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.
30 questions
0
votes
2
answers
396
views
prefab editor not working for NGUI in unity2018
i just updated my project from unity5 to unity 2018. my project uses ngui as UI solution. eveything works fine in updated version but when i want to edit prefabs in prefab mode i get this message:
is ...
0
votes
0
answers
304
views
UGUI canvas and NGUI panel overlap issue - Set Sorting Order
I have a NGUI Panel and a UGUI (Unity UI) panel. All are working fine but there is a small problem. When I open the NGUI panel meanwhile my GUI panel is also open, then NGUI panel appears behind the ...
1
vote
1
answer
360
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
1
answer
58
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
2
answers
60
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
1
answer
37
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) ...
4
votes
0
answers
60
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
0
answers
22
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
2
answers
996
views
All sides shadow outline in Unity NGUI
How can I make such exactly the same shadow using NGUI?
2
votes
0
answers
561
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
0
answers
121
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
3
answers
2k
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
1
answer
425
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
2
answers
994
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 ...
5
votes
1
answer
4k
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:
...
4
votes
1
answer
7k
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
0
answers
2k
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
1
answer
4k
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
1
answer
985
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
1
answer
388
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
2
answers
2k
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
1
answer
205
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
2
answers
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
1
answer
844
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
1
answer
687
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
2
answers
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
1
answer
667
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
1
answer
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
3
answers
7k
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
2
answers
7k
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 ...