Skip to content

Instantly share code, notes, and snippets.

@RhinoLu
Created November 26, 2012 06:37
Show Gist options
  • Save RhinoLu/4146872 to your computer and use it in GitHub Desktop.
Save RhinoLu/4146872 to your computer and use it in GitHub Desktop.
使用 TweenMax 製作漂浮效果
TweenMax.to(something, 1, new TweenMaxVars().y(50, true).ease(Quad.easeInOut).yoyo(true).repeat(-1).vars);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment