NGUI Change animation method

Sorry for my bad English, Because I’m Taiwanese.

My question is : How to change animation method like easeinout to linear,
I use a code that like this:
TweenPosition.Begin(this.gameObject,2.0,Vector3(10.0,0.0,0.0));
when I apply this code to a object,
it moves likes easeinout,
but I want it moves as Linear,
So how do I change the type it moves?

I use javascript,but this plugin always use c#,
So many thing I don’t understand,
Please help and thanks a lot.

You should post this in the NGUI forums, really…

All UITweeners have a method field which you can set:

UITweener myTweener; //position tween, scale tween, whatever)
myTweener.method = UITweener.Method.Linear; //the enum Method is nested in UITweener

Hi,
same problem , but not able to find the solution. I just need to change the method of TweenPosition function.