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 - rain

Pages: 1 [2] 3 4 ... 6
16
NGUI 3 Support / Re: Too much GC alloc
« on: March 05, 2014, 06:04:00 AM »
Why are you instantiating so much stuff at once?  ???

17
NGUI 3 Support / Re: i have a question
« on: March 04, 2014, 08:38:49 AM »
Dude, this isn't even a question...

18
NGUI 3 Support / Re: UISlider Bug!?
« on: March 04, 2014, 08:37:46 AM »
Try dragging the prefab into the scene, enabling and disabling the slider script and then saving the prefab.
I suppose your UISlider instance is still stuck in 'legacy mode'.

19
NGUI 3 Support / Re: Scroll View Lag?
« on: February 28, 2014, 08:45:44 AM »
You should try to minimize the amount of prefab instances in the scrollviews by making your own pooling logic.

20
NGUI 3 Support / Re: UIPanel under a UIWidget not refreshing
« on: February 28, 2014, 08:31:36 AM »
Does the shader on your UITextures support transparent stuff?

21
What are you trying to achieve by "scaling a UIRect"? As far as i know, UIRect only has anchor points.

22
NGUI 3 Support / Re: how to change uisprite size??
« on: February 27, 2014, 12:29:02 PM »
UISprite inherits from UIWidget, which has ".width" and ".height" fields.

23
NGUI 3 Support / Re: Panel and TweenAlpha bug [fixed in 3.5.0]
« on: February 21, 2014, 10:13:22 AM »
I just tested this problem in NGUI 3.5.0b and it still happens for me.

24
NGUI 3 Support / Re: OnGUI in NGUI
« on: February 21, 2014, 08:10:36 AM »
I feel like you didn't actually read why that piece of code is inside OnGUI.

25
NGUI 3 Support / Re: UIInput without separate IOS input field
« on: February 21, 2014, 06:18:57 AM »
That line of code i pasted previously should cause your keyboard to look like the one i attached. Haven't tried password mode though.  ???

26
NGUI 3 Support / Re: Elegant way for auto-adjusting box collider on button
« on: February 20, 2014, 05:09:56 PM »
You know your button's dimensions right? You can set it on the parent UIWidget and then have its children positioned and scaled (or anchored) so that the UIWidget rect always covers your button elements.

27
NGUI 3 Support / Re: UIInput without separate IOS input field
« on: February 20, 2014, 02:00:31 PM »
Just to be clear, you mean to disable that textfield thingy directly above the iOS keyboard like in the attachment, right?

28
NGUI 3 Support / Re: Elegant way for auto-adjusting box collider on button
« on: February 20, 2014, 01:25:31 PM »
I usually place a UIWidget script on the root gameobject where the collider is, then make its size cover the clickable area. After that, you can just tick the checkbox in the UIWidget script where it says "Box Collider [ ] auto-adjust to match".

29
NGUI 3 Support / Forcing a UILocalize component to localize
« on: February 20, 2014, 09:03:18 AM »
Hi!

Before 3.5.0, i could force specific UILocalize script instances to relocalize themselves by calling .Localize() on them.
This seems to have disappeared in the latest version, what's the new approach?

Thanks in advance!

30
NGUI 3 Support / Re: UIInput without separate IOS input field
« on: February 20, 2014, 07:53:25 AM »
Try placing this somewhere "early" in your code.
  1. TouchScreenKeyboard.hideInput = true;

Pages: 1 [2] 3 4 ... 6