I use itween.valueto and itween.fadeto on a animatedSprite but fail.
iTween.ValueTo(gameObject, iTween.Hash("from", 1.0f, "to", 0.0f,"time", 2.0f, "easetype", "easeInOutQuad", "onupdate", "setAlpha"));
iTween.FadeTo(gameObject, iTween.Hash("alpha", 0));
renderer.material.color = new Color(255,255,255,0);
none work.what am i doing wrong here?