Thursday, June 12, 2014

Time.timeScale and iTween ignoretimescale property

iTween property "ignoretimescale" doesn't work if it is used along with "delay" property withing same function.

For instance

iTween.MoveTo(gameObject,iTween.Hash("x", .25, "easetype", iTween.EaseType.easeInSine, "time", .2, "ignoretimescale", true, "delay", .2));

would be affected by Unity3d timeScale even though "ignoretimescale" property is used in it,

while,

iTween.MoveTo(gameObject,iTween.Hash("x", .25, "easetype", iTween.EaseType.easeInSine, "time", .2, "ignoretimescale", true));


will ignore Unity3d timeScale and "ignoretimescale" will function properly.

More important about Time.timeScale,

Best Practice for Game Development!

No comments:

Post a Comment

Popular Posts