Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - arumons

Pages: [1]
1
NGUI 3 Support / UIScrollView Problem (with NGUI 3.9.6)
« on: February 25, 2016, 01:07:42 AM »
Dear Aren,

I have a small question regarding UIScrollView.cs in NGUI version 3.9.6.

Before I have used Unity3d 4.6.5 (with NGUI 3.7.2). Onced I upgraded to Unity3d 5.3.2 (with NGUI 3.9.6), ScrollView spring functionality got broken (If I disable spring in ScrollView, spring effect still persists).

In UIScrollView.cs , there is a commented code (from line 849 - "We want to constrain the UI to be within bounds"), which if uncommented, fixes ScrollView spring functionality.

So I was wondering, if it is ok to uncomment that code (was it commented out for reason?) ?

I'm looking forward to your reply.

Best Regards,
arumons

2
NGUI 3 Support / UIProgressBar causes memory leak?
« on: November 11, 2014, 09:15:23 AM »
Hello.
I use several atlases on several scenes.

Today, I found that a atlas material not unloaded when change scene.
I read this post (http://www.tasharen.com/forum/index.php?topic=3351.0) and this post (http://www.tasharen.com/forum/index.php?topic=7869.0) but could not solve.

Finally, I detect that UIProgressBar have "static public UIProgressBar current" !!
This cause remain reference to material not use next scene...

Thanks for your reading. :)

-----
Environment
Unity 4.5.4f1
NGUI 3.7.2

3
NGUI 3 Documentation / Re: UIInput
« on: January 22, 2014, 11:02:05 PM »
I want to distinguish "close keyboard"(touch not keyboard area) and pressing OK button on Android device.
However, submit that will be called in case of both.
(In case of both, mKeyboard.done is true and mKeyboard.wasCanceled is false in Update function...) :'(


4
NGUI 3 Support / Re: All widgets blink when NGUITools.addChild
« on: November 27, 2013, 06:21:59 AM »
sorry, I confused NGUI version(i use 3.0.6 f1...).
No blink shown in 3.0.6 f4.
thank you for your reply :)

5
NGUI 3 Support / All widgets blink when NGUITools.addChild
« on: November 27, 2013, 05:03:12 AM »
NGUI version: 3.0.6 f4
Unity version: 4.3.0f4

When I add widget to Panel by NGUITools.addChild, all widdges blink once on iPhone5(not blink on unity editor).

ex: NGUITools.addChild(panel, spritePrehab)

Please tell me how to insert new widget without blink :'(

6
NGUI 3 Documentation / Re: UI2DSprite
« on: November 26, 2013, 06:44:56 AM »
I see. I use NGUI Sprite and NGUI Atlas untill unity 4.5 coming!
thank you for reply.

7
Hallo, I updated NGUI to 3.0.6. And then tried to use Unity 2D sprite with Unity 4.3 sprite.
This Sprite Mode of Sprite is ‘Single’ and Packing Tag name is ‘foo’.
Finally sprite packed with ‘Window(above menu)’ >> ‘Sprite Packer’ >>  ‘Pack’.
This sprite is shown in scene view.
But When I Run Program, Error Message below is shown in console and not 2D sprite displayed…

———————————————————————————————————————————————
UnityException: Sprite is not rectangle-packed. TextureRect is invalid.
UI2DSprite.get_uvRect () (at Assets/NGUI/Scripts/UI/UI2DSprite.cs:187)
UI2DSprite.OnFill (.BetterList`1 verts, .BetterList`1 uvs, .BetterList`1 cols) (at Assets/NGUI/Scripts/UI/UI2DSprite.cs:232)
UIWidget.UpdateGeometry (Boolean forceVisible) (at Assets/NGUI/Scripts/Internal/UIWidget.cs:950)
UIPanel.UpdateWidgets () (at Assets/NGUI/Scripts/UI/UIPanel.cs:855)
UIPanel.LateUpdate () (at Assets/NGUI/Scripts/UI/UIPanel.cs:730)
——————————————————————————————————————————————-

I can use sprite whose sprite mode is Multiple or also use single sprite which is not packed.
But cannot use sprite which is packed with sprite packer..

Can I use packed sprite on NGUI?

Unity Version: 4.3.0f4

Pages: [1]