I perform scale down animation for GameObject. After scale down animation complete I want to perform specific task. So that I want to call method using iTween code.
Used code
iTween.ScaleTo (other.gameObject, iTween.Hash ("x", 0.1f, "y", 0.1f, "time", 1f, "oncomplete", "ScaleAnimationComplete()"));
private void ScaleAnimationComplete ()
{
print ("scale animtion");
}
Using above code scaling is performed but not call any completion event.
I have already played with small changes but not able to get success in this.
Please someone help me.