1
NGUI 3 Support / Re: Overlapping box colliders
« on: March 13, 2014, 02:25:20 AM »
> Adding one extra script to your prefab won't complicate anything.
It does. My GUI is very complex. I have to build it in runtime (from xml) from many "controls". Each control is a prefab. Some layouts are known at runtime only (they come from server). Generally I have no idea which prefabs get into scrollview. I can't put the script on each prefab "just in case", apart other reasons cause it's not the behavior I always want. That's why it complicates things.
Broken modularity (it's broken here cause I have to delegate part of scrollview behaviour to children within) always complicates modular systems.
I don't expect any reaction on that - just explaining what exactly is complicated. Still NGUI does the good job even for my obscure usecase, and I can hack around harshnesses. Let's leave this issue alone.
It does. My GUI is very complex. I have to build it in runtime (from xml) from many "controls". Each control is a prefab. Some layouts are known at runtime only (they come from server). Generally I have no idea which prefabs get into scrollview. I can't put the script on each prefab "just in case", apart other reasons cause it's not the behavior I always want. That's why it complicates things.
Broken modularity (it's broken here cause I have to delegate part of scrollview behaviour to children within) always complicates modular systems.
I don't expect any reaction on that - just explaining what exactly is complicated. Still NGUI does the good job even for my obscure usecase, and I can hack around harshnesses. Let's leave this issue alone.
