1
TNet 3 Support / Re: is TNET suited for this?
« on: July 31, 2016, 11:59:54 PM »
thanks michael, I really appreciate your feedback!
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.
I don't expect their home phone number, but at that price point an email address that I could expect an answer from in a couple of days is certainly called for.
I bought NGUI because Unity's UI system is complicated. If I wanted to spend all day learning how to use a UI system, I don't need to pay Tasharen for that. I could do that learning the Unity UI system for free. If NGUI isn't substantially easier to use, it's not of much value to me (certainly not what they're charging for it).
I'll see about doing it this weekend (tonight or tomorrow).

Yes, it's possible in NGUI 3.9.9 that's in the Pro repository right now. You can set UICamera.GetMouse / UICamera.GetTouch delegates, which by default just use Input. You can change them to be something else.
To force it you can run NGUITools.ImmediatelyCreateDrawCalls but it's a bit of a bitch to run (quite heavy), so use sparingly.
Destroy( oldBackground );
GameObject newBackground= NGUITools.AddChild(someParent, myPrefab);
myPanel.Refresh();
foreach(Transform child in someParent.transform) Destroy(child.gameObject);
GameObject newChild = NGUITools.AddChild(someParent, myPrefab);
myPanel.Refresh();

