johnatm / itween

Automatically exported from code.google.com/p/itween
1 stars 2 forks source link

TweenName Length causes ArgumentOutOfRangeException #93

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When you try to stop a tween with iTween.Stop(gameObject, type)  (Itween.cs 
line6429) You'll get an ArgumentOutOfRangeException when the TweenName is 
higher than the length of the string "valuefloat" for example. This means that 
you can't use every name you want, because it depends on the type of value you 
use in your tween.
Line 6441 is the bad string parsing method.
Don't know if this constraint is documented, but it's a pitfall .(at least it 
was for me ;-)

Original issue reported on code.google.com by stefan.s...@googlemail.com on 12 Nov 2011 at 5:37