public ActionInterval OnClick16() { var action = CCActionSequence.Create( CCAction.CCDelay(0, () => { Reset(); SetTile("变速Quart"); }), image2.gameObject.CCShow(), CCAction.CCDelay(0, () => { SetTile("变速QuartIn 上图先慢后快,下图正常"); }), CCAction.CCSpawn( CCAction.CCQuartEaseIn(image.transform.CCMoveTo(duration * 0.5f, new Vector3(200, 0, 0))), image2.transform.CCMoveTo(duration * 0.5f, new Vector3(200, -100, 0)), CCActionDelay.Create(0f) ), CCActionDelay.Create(0.1f), CCAction.CCSpawn( CCAction.CCQuartEaseIn(image.transform.CCMoveTo(duration * 0.5f, new Vector3(0, 0, 0))), image2.transform.CCMoveTo(duration * 0.5f, new Vector3(0, -100, 0)), CCActionDelay.Create(0f) ), CCAction.CCDelay(0.1f, () => { SetTile("变速QuartOut 上图先快后慢,下图正常"); }), CCAction.CCSpawn( CCAction.CCQuartEaseOut(image.transform.CCMoveTo(duration * 0.5f, new Vector3(200, 0, 0))), image2.transform.CCMoveTo(duration * 0.5f, new Vector3(200, -100, 0)), CCActionDelay.Create(0f) ), CCActionDelay.Create(0.1f), CCAction.CCSpawn( CCAction.CCQuartEaseOut(image.transform.CCMoveTo(duration * 0.5f, new Vector3(0, 0, 0))), image2.transform.CCMoveTo(duration * 0.5f, new Vector3(0, -100, 0)), CCActionDelay.Create(0f) ), CCAction.CCDelay(0.1f, () => { SetTile("变速QuartInOut 上图前后慢中间快,下图正常"); }), CCAction.CCSpawn( CCAction.CCBounceEaseInOut(image.transform.CCMoveTo(duration, new Vector3(200, 0, 0))), image2.transform.CCMoveTo(duration, new Vector3(200, -100, 0)), CCActionDelay.Create(0f) ), CCActionDelay.Create(0.1f), CCAction.CCSpawn( CCAction.CCBounceEaseInOut(image.transform.CCMoveTo(duration * 0.5f, new Vector3(0, 0, 0))), image2.transform.CCMoveTo(duration * 0.5f, new Vector3(0, -100, 0)), CCActionDelay.Create(0f) ), CCAction.CCDelay(0, () => { SetTile("完成"); }), CCActionDelay.Create(0f) ); return(action); }