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
1 answer

NGUI UIToggle how to toggle / deactivate one

I have two UIToggle objects, so when I click on, for example, toggle 1 it enables itself and toggle 2 becomes disabled. But I am trying to toggle them in the script. I get the UIToggle 1 like this: UIToggle toggleOn =…
Kane
  • 375
  • 1
  • 6
  • 18
0
votes
0 answers

Call Winphone method in unity with Ngui

I am using Ngui in unity I have written event Button OnClick in NGui void OnClick() { if (gameObject.name == "More Game") { if (ShowMoreGame!= null) { …
LKIT
  • 1
  • 1
  • 7
0
votes
1 answer

NGUI: How to reset / update a UIgrid & UIScrollBar when a new item is added in real time

I have an UIScroll Bar and a UIScroll View that contains a UIGrid, like this: scrollWindow scrollBar (UIScroll Bar) scrollView (UIScroll View) Grid (UIGrid) I use them to display a list of items and scroll up and down to see all of them, and it…
Kane
  • 375
  • 1
  • 6
  • 18
0
votes
1 answer

Building 2DTerrain in Unity3D

I am using NGUI kit in Unity3D to build a progress bar. UISlider script has the value ranging from 0 to 1 to control the slider. My script is on the same object and i am using this way to set its value according to time…
TalhaDX
  • 1
  • 5
0
votes
0 answers

Lexical or Preprocessor issue 'Unity/GlesHelper.h' file not found error in Xcode 5.1.1 from Unity

I converted my Unity 4.5.1f3 game project to iOS and opened the same in XCode 5.1.1. To resolve the issues with Mach-O linker error I kept the Library and Framework search paths blank in build settings as I have done successfully in other XCode…
Ian Pinto
  • 2,199
  • 1
  • 21
  • 24
0
votes
2 answers

Unity3D - Create a NGUI Button

I'm working on some project where I need to create on the fly, buttons with NGUI. I found some answers but none of them could help me. Iknow it's simple but according to what I found on http://www.tasharen.com/forum/index.php?topic=81.0 and in NGUI…
saoris
  • 3
  • 2
0
votes
0 answers

Change NGUI topAnchor in UIPanel using c#

I am trying to figure out how to, via c#, change the topAnchor point in my UIPanel. Here is how I am trying to go about it: // The GameObject I want as my new Anchor // GameObject searchField =…
Mansa
  • 2,277
  • 10
  • 37
  • 67
0
votes
1 answer

Resizing with NGUI labels causing weird behaviour

I had a Facebook game, made with Unity utilizing NGUI. When the game loaded up for the first time, Facebook's dialog showed asking for permissions. To do this, the Unity container of the game is minimized. The problem is when the game regained…
Gaston Claret
  • 1,000
  • 1
  • 7
  • 27
0
votes
1 answer

In Unity and NGUI, a prefab, onClick notify works on public function but the boolean loses it's value in update

I am trying to add an NGUI button, that rotates instances of a game object using a controller script that works fine when pressing the arrow keys. I started using NGUI to add buttons. The buttons have a notify on Click that selects a function from…
scranley
  • 188
  • 1
  • 4
  • 20
0
votes
1 answer

How get x and y position of ScrollView in NGUI

I am try to access most left and upper x and y position of ScrollView in NGUI but unable to access. i tried to access with tranform.LocalPosition.x but what ever value its give it is middle anchor value. I want want most left and upper position of…
Pawan Chaurasiya
  • 881
  • 2
  • 16
  • 30
0
votes
2 answers

Unity Android NGUI Components shows smaller on the build version than the Emulator version

So i was building this UI for an app in Unity to be deployed on Android Platform. Here is the preview from the Game Window : But when i build and run the app on my device, it shows this : The header log is anchored on Top, the title is anchored…
jofftiquez
  • 7,548
  • 10
  • 67
  • 121
0
votes
1 answer

How to access Clipping Rectangle postion of UIScrollView in NGUI

I am using NGUI v3.5.4r2 version. I am try to access Clipping Rectangle position in UIScrollView. I can get height and width of Clipping Rectangle but unable to access position of Clipping Rectangle of UIScrollView. Your help will be…
Pawan Chaurasiya
  • 881
  • 2
  • 16
  • 30
0
votes
3 answers

What's the best way to use big textures (2048*1536) in Unity3d with NGUI on ios?

I'm using Unity3d (4.3.1) and NGUI for creating an 2d iOS (iPad) app. Also I need to use a lot of full screen images (about 100 images with size 2048x1536), for Gallery for example. Now I'm using them with GUI type, override for iPhone with max…
0
votes
1 answer

How to make Scrollable Label in NGUI

I want to make a Scrollable Label in NGUI. Suppose there is list of name of producer, programmer, artiest and other stuff in Label. and there is also scroll bar when i pull up and down. It will show list of contents in Scrollable View. I searched in…
Pawan Chaurasiya
  • 881
  • 2
  • 16
  • 30
0
votes
2 answers

How to get camera width and button width in NGUI

I am try to access width and height of NGUI 2D UI camera and also try to access width and height of button create with NGUI.
Pawan Chaurasiya
  • 881
  • 2
  • 16
  • 30
1 2 3
8 9