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.


Topics - hmnyari

Pages: [1]
1
NGUI 3 Support / Atlas broken when change app
« on: August 10, 2015, 11:01:53 PM »
i am using iphone6
ngui 3.9.0
unity5.0.3

play game using iphone6
->change to another app
->when back to game, atlas broken 1 second(screenshot1) then back to normal(screenshot2)

would you please why this happened?
thank you

2
NGUI 3 Support / unity 5.0.2f1 error appeared
« on: June 03, 2015, 11:54:30 AM »
Assets/NGUI/Scripts/Editor/UIPrefabTool.cs(418,77): error CS0619: `UnityEngine.Resources.LoadAssetAtPath(string, System.Type)' is obsolete: `Use AssetDatabase.LoadAssetAtPath instead (UnityUpgradable)'


when I updated unity to 5.0.2f1 today, this error appeared

would you please help me how can I fix this error?

thank you :)

3
NGUI 3 Support / I want to know about future of NGUI
« on: August 22, 2014, 01:24:19 AM »
unity 4.6 beta released.
4.6’s new UI tool is similar to NGUI.

I want to know about future of NGUI.

4
NGUI 3 Support / I found UIButton Bug
« on: May 16, 2014, 02:56:36 AM »
https://www.youtube.com/watch?v=hcnp714S6-k&feature=youtu.be

watch this youtube please.

how can I fix it??

version is 3.5.9

5
NGUI 3 Support / how to change uisprite size??
« on: February 27, 2014, 03:27:23 AM »
xxx.getcomponent<uisprite>().size???

how can i change size??

6
NGUI 3 Support / Can I change keyboard language?
« on: November 20, 2013, 09:57:52 PM »
hello.
i'm using UIInput class and I want to know how can I change keyboard language to english when I touch the inputfield at android and iphone.
i'm using japanese and english.

1.open another application
2.change keyboard language to japanese.
3.open my application and touch inputfield.
4.japanese keyboard appear.

I want to change 4.(japanese keyboard to english keyboard)

help please.
thank you

7
NGUI 3 Support / How can I change UICheckbox to UIToggle?
« on: November 07, 2013, 09:01:51 PM »
I saw youtube upgrade guide
but I can't understand...
this is my previous code(2.6.3)

checkBox.GetComponent<UICheckbox>().eventReceiver = anyGameObject;
checkBox.GetComponent<UICheckbox>().functionName = "WhenActivate";


How can I change this codes to using UIToggle(3.0.4)?


8
NGUI 3 Support / UILabel max line is not work
« on: July 03, 2013, 11:38:50 PM »
using 2.6.3
 
--setting--
shrink to fit ON
max width xxx
max line 1

max line 1 is not work
when my text become long , line over 2

in previous version(2.5.x) max line 0 = max line 1 and works perfectly
in 2.6.3 , i need to set all my UILabel's max line 0 to 1
also it's not work...

is this bug? is there any plan to fix this in next version?

ps.
so I found solution.
copy and paste UILabel.cs of 2.5.x and delete OnUpdate() inside UILabel.cs

9
NGUI 3 Support / Performance UIPanel in UIDraggablePanel
« on: June 24, 2013, 08:21:20 PM »
hello. I have a question for performance of my project .
I'm Pro user using 2.6.3
I have a draggable UITable and there are almost 100 object in the table.
and 100 object has own UIPanel

panel(UIPanel),(UIDraggablePanel)
 - table (UITable)
   -PlayerBox (UIPanel)(UIDragContents)
      -label(UILabel) -activeOn
      -icon(UISprite) -activeOff
      -lable_status (UISprite) -activeOn or Off
      -img (UITexture) -activeOff
      -protect (UISprite) -active Off

     -PlayerBox (UIPanel)(UIDragContents)
      -label(UILabel) -activeOn
      -icon(UISprite) -activeOff
      -lable_status (UISprite) -activeOn or Off
      -img (UITexture) -activeOff
      -protect (UISprite) -active Off

  ...100 PlayerBoxes

Panel Clip doesn't work because of UIPanel in UIPanel
so I'm using (OnBecameVisible, OnBecameInvisible) script

(using iPhone 5)
if i do nothing frame rate is 60
but when i start to drag , frame rate change to 20~30

I want to know why my dragpanel performance is bad.
because of object has UIPanel or another reason?

my destination is 200 object move smoothly.
help me please. thank you

10
NGUI 3 Support / what is hideInactive in UITable doing?
« on: June 14, 2013, 12:11:59 AM »
I don't know what hideinactive doing.

what is this option means?

11
NGUI 3 Support / Shrink to Fit bug
« on: June 13, 2013, 03:38:53 AM »
updated 2.5.1 ->2.6.2

my dynamic font size is 36

 [shrink to fit :ON] and [Max width:80] write in UILabel. "abcdefg"

font size became small (36->24)

but when I delete my word to "abc", font size is not change.

font is not grow up to 36 automatically.

and MaxLine is ignored

Is this a bug?   

It was perfect when 2.5.1

look at this video please because I'm not good at English ;;
http://www.youtube.com/watch?v=__ALWFN_XZs



12
NGUI 3 Support / How can I detect clicking(touch) event??
« on: June 12, 2013, 03:16:10 AM »
I want to detect touch event

UiButtonMessage has [OnMouseOver] event but this event not work at mobile

and[ OnPress ] call method only 1 time.

I want to call method every frame when Pressing button. not one time.

How can I do? 

13
NGUI 3 Support / How can I change parent?
« on: April 17, 2013, 03:47:16 AM »
I'm not good at English sorry :'(

here is my object(has 2children)

gameobjectA (doesn't have UIPanel ,because parent of gameobjectA has UIPanel so can't use clipping)
 ㄴimage(UITexture)
 ㄴicon(UISprite)

here is my code to change parent
gameobjectA.transform.parent = destination.transform;

but this code is not work in NGUI newest update (there is no problem in 2.3.3)
when I drag gameobjectA after change parent, border of gameobjectA is move but children(image, icon) not move

how can I fix it? what is changed in new version?

ArenMook saids :You can't just switch a parent. You need to inform the widgets that the parent has been changed.
Look at what the drag & drop example does.

I looked at drag&drop example but I can't understand(because I'm newbie programmer)

please help me how can I do.

same problem is here

http://www.tasharen.com/forum/index.php?topic=3554.msg17739#msg17739

thank you :D

14
NGUI 3 Support / [solved]Is there Auto Scale function in UILabel ??
« on: April 12, 2013, 04:47:43 AM »
watch my screenshot please
I want to decrease the text with the text was to maintain a constant width.
Please let me know how to resolve it.
thank you :)

Pages: [1]