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.
ngui
128
questions
0
votes
1
answer
40
views
How to add custom message in dropdown in Angular 7 instead of ngui-auto-complete in this code?
I tried adding a custom message in the dropdown when no character matches are found in the dropdown list. Here is the code for the same, which uses ngui-auto-complete to show "No Result Found&...
0
votes
1
answer
614
views
Unity NGUI add new Sprite in Atlas and goes out wrong with offset Problem
im a client developer
my app uses NGUI in 2020.3.17 version in unity
i always have a problem..
when i have to add a new sprite in a Atlas and update
the atlas that i added new sprite goes wrong
not ...
0
votes
1
answer
553
views
Is it possible to change model variable value in view/ HTML in Angular?
I want to use <ngui-in-view> in my project but not in order to display or not an image but in order to activate/deactivate a style for a specific button. This means I want to change the value of ...
1
vote
1
answer
685
views
Execute NGUI button press from script in unity C#
I have a NGUI button and it contains UIButton and UIToggle script. From another script i want to run its click event with all relevant button state changes like colour change etc. For this I found ...
0
votes
0
answers
97
views
how to use Raycast NGUI in RTS Game?
I am working on the 2D Isometric RTS project.
It's like They are Billions or Starcraft.
But while working on the map-editor, RayCast faced an unbreakable problem with NGUI.
Although you must create ...
0
votes
1
answer
159
views
How to make a 3D scroll view with NGUI
I want to make 3D scroll view using NGUI.
Like the YouTube video Unity 3D simulates the iPhone scroll screen.
How can I make it like this?
0
votes
0
answers
96
views
Changing a Inputfields with Tab in Mobile version of keyboard. (C#, NGUI)
Is posible make a option to change a input field with this button in mobile keyboard?
Keyboard in my smartphone
I dont know how to make something like that in my application. I add to update this
...
0
votes
1
answer
2k
views
Show password button(Unity NGUI / C#)
I need to do button that show a password that user input.
I tried change a InputType field with button but this only work for Password->Standard no for Standrd->Password.
this is my script for button
...
0
votes
1
answer
144
views
I want angular 4 ng2-ui/map places-auto-complete restricted to a specific country
Here is my code
<input class="form-control" placeholder="Pickup Location" places-auto-complete
(place_changed)="pickupChanged($event)" formControlName="pickup_location"
[types]="['geocode']" /&...
-1
votes
2
answers
298
views
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 ...
1
vote
1
answer
255
views
ScrollView using Button (NGUI C# UNITY)
I'm having a problem implementing the button to swipe it to the next page I am using NGUI
Here's my script
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public ...
0
votes
0
answers
77
views
Deleting Children in NGUI
I'm not having trouble of deleting the children of the other statements but this 1 statement is pretty weird.
Here's is my code of deleting the children in NGUI
void DeleteChildrens(Transform t)
{
...
1
vote
1
answer
384
views
Get Json Data and parse the data individually (c# unity)
I successfully converted my string data to json by using this code
//1 = blue circle, 2 = red circle
string jsonString = "[1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1]"; //sample data
...
0
votes
0
answers
69
views
Trying to customize NGUI - UIButton in the Inspector
When I try to customize a class of "NGUI - UIButton",
I got a problem that's not working serialize variables in Unity editor inspector view.
public class MyButton : UIButton // inherited NGUIButton ...
0
votes
0
answers
90
views
OnMouseDown should not work over NGUI
I have gameobjects where OnMouseDown event attached and its event working fine but the problem is the event is also working when NGUI UITexture is open. I want to prevent OnMouseDown when mouse over ...