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

Pages: 1 [2] 3 4 ... 8
16
NGUI 3 Support / Re: Error in NGUI 3.0.9 f7
« on: January 29, 2014, 11:27:43 AM »
I'm so jelly

17
NGUI 3 Support / Re: NGUI Performance Issues
« on: January 29, 2014, 11:23:22 AM »
Do you have the last version of NGUI ? Arenmook fixed some performance issues.

I see that there is 361 calls to GameObject.Activate, do you have 361 objects in your list ?

Do you really need to disable all those objets ? Can't you just disable/enable the panel when closing/opening the shop ?

18
NGUI 3 Support / Re: Bug in UIAnchor
« on: January 29, 2014, 11:02:45 AM »
You have to add an UIWidget to your gameObject. UIGrid is not a widget, it is more like an helper that places children gameobject.

19
NGUI 3 Support / Re: Scrollable Table, update entries
« on: January 29, 2014, 09:33:34 AM »
Can you copy paste your code pls?

20
NGUI 3 Support / Re: Scrollable Table, update entries
« on: January 29, 2014, 09:17:39 AM »
You have to use the methods in NGUITools.XXX() instead of the method of Unity to make it work (NGUITools.Instantiate, NGUITools.SetActive, NGUITools.Destroy, ...)

21
NGUI 3 Support / Re: Bug in UIAnchor
« on: January 29, 2014, 09:15:49 AM »
UIAnchor is deprecated, you have to use the last anchoring system :

http://www.youtube.com/watch?v=6k5iIzKTEBQ&list=UUQGZdUwzE8gmvgjomZSNFJg&feature=c4-overview

22
NGUI 3 Support / Re: NGUI Performance Issues
« on: January 29, 2014, 03:43:22 AM »
It seems that you Destroy and Instantiate the items whenever you hide/show them because .Start() is only called once foreach Component.

You should recycle the GameObject :
  • When you want to hide an item, don't destroy it, disable the GameObject and keep the reference in a Queue
  • When you need to show an item, pop an item in your Queue, update the parameters (label text, sprits) and enable it.
  • If the Queue is empty and you need an item, just instantiate it. You can also pre instantiate as many items as you need at the start of the game.

23
NGUI 3 Support / Re: HELP!
« on: January 29, 2014, 03:40:12 AM »
What version of Unity do you use, it looks like that you use a pre 4.3 Unity. Maybe the code misses some #ifdef ^^

If you need to work and don't need this script, just remove ActiveAnimation.cs until an update comes.

24
NGUI 3 Support / Re: Pixelated graphics on smaller resolutions
« on: January 27, 2014, 09:39:50 AM »
Create Atlas with different resolutions.

25
NGUI 3 Support / Re: UI Popup Menu Sprite elements
« on: January 23, 2014, 03:28:07 AM »
You can use emoticons to encode images in your label.

26
NGUI 3 Support / Re: Some question about the scrollview !
« on: January 21, 2014, 10:33:49 AM »
Help him!!!! PLEASE ARENMOOK DO IT

27
NGUI 3 Support / Re: Update NGUI in a project worked with NGUI (older)
« on: January 14, 2014, 05:54:27 AM »
Before importing a new NGUI package, you have to remove the NGUI folder.

I think that you can work with the last package, it includes a lot of bug fix, new features, and everything should work has expected. 3.0.6 is not that old.

28
NGUI 3 Support / Re: ScrollView confusion
« on: January 14, 2014, 05:01:52 AM »
Hello,

You have to add the script "UIDragScrollView" on each item of the scrollview (and its background) to be able to scroll it. Of course they also need a box collider.

Add this script, and fill the reference to your UIScrollView script.

29
NGUI 3 Support / Re: How to use TweenAlpha?
« on: January 10, 2014, 09:07:51 AM »
This is not strange, this is the normal behaviour. TweenScale tweens the scale of the Transform component of your gameObject (every gameObject has a Transform).

TweenAlpha tweens the alpha value of UIWidget, if you don't have this behaviour on a gameObject, you just can't tween it.

It is like if you wanted to get an haircut at the hairdresser while you are bald.

30
NGUI 3 Support / Re: How to use TweenAlpha?
« on: January 10, 2014, 08:48:38 AM »
The game object that you want to tween must have a component UIWidget or at least a component which inherits from UIWidget (such as UISprite, UILabel etc ...)

What kind of object do you want to hide ?

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