When I try to use LeanTween based on the structure of their argument list for moveX based on their documentation, I get an error "No appropriate version of 'LeanTween.moveX' for the argument list '(UnityEngine.GameObject, float, float)' was found."
This is the code that gives the error:
In contrast, LeanTween.move seems to work fine:
Any ideas to why moveX argument structure is wrong?
Hi UnityGal, Most methods do support leaving off the optional parameter on the end, but it appears that moveX does not, so if you just pass it an empty array or hashtable for that argument it should work fine:
I'll update LeanTween to support this for future versions!
answered Apr 28 '13 at 10:09 PM