Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Rafe on August 26, 2012, 02:54:50 PM

Title: Feature Suggestions
Post by: Rafe on August 26, 2012, 02:54:50 PM
Hi,

Just a couple of things that could be nice to have

1) It would be handy to have the "static" toggle in the Panel Tool window.

2) UICenterOnChild calls SpringPanel.Begin() with a hard-coded strength of 8. I branched the script for our project to make this a public field in the inspector.
Title: Re: Feature Suggestions
Post by: ryan on August 29, 2012, 04:52:19 PM
A public function on UICenterOnChild to ask it to center on a particular object would also be handy.
Title: Re: Feature Suggestions
Post by: Rafe on September 21, 2012, 11:28:30 AM
+10 Ryan's suggestions

It would also be amazing if the Grid has some of the List<> interface so it was ordered and had "Add", "Remove" and "Insert". This combined with scroll-to-item (by index?) would make my life so much easier!! A new component: "GridList"?
Title: Re: Feature Suggestions
Post by: FredericRP on March 20, 2013, 07:14:50 AM
Hi,

I agree with the suggestion to have the spring strength not hard coded. I also had to add a public value :

  1.   public float springStrength = 8f;

and replaced the hard-coded 8f value with this public var at the end of Recenter() method.

  1.   SpringPanel.Begin(mDrag.gameObject, dt.localPosition - offset, springStrength).onFinished = onFinished;

Could you integrate this change in your next release to be sure it's not overwritten when I update it next time ?

Many thanks.

Title: Re: Feature Suggestions
Post by: ArenMook on March 20, 2013, 11:51:23 AM
Sure.
Title: Re: Feature Suggestions
Post by: FredericRP on March 27, 2013, 09:41:39 AM
Thanks for the inclusion in 2.5.0 :)