public ActionInterval OnClick18() { var action = CCActionSequence.Create( CCAction.CCDelay(0, () => { Reset(); SetTile("变速Back"); }), image2.gameObject.CCShow(), CCAction.CCDelay(0, () => { SetTile("变速BackIn 上图先慢后快,下图正常"); }), CCAction.CCSpawn( CCAction.CCBackEaseIn(image.transform.CCMoveTo(duration * 0.5f * 0.5f, new Vector3(200, 0, 0))), image2.transform.CCMoveTo(duration * 0.5f * 0.5f, new Vector3(200, -100, 0)), CCActionDelay.Create(0f) ), CCActionDelay.Create(0.1f), CCAction.CCSpawn( CCAction.CCBackEaseIn(image.transform.CCMoveTo(duration * 0.5f * 0.5f, new Vector3(0, 0, 0))), image2.transform.CCMoveTo(duration * 0.5f * 0.5f, new Vector3(0, -100, 0)), CCActionDelay.Create(0f) ), CCAction.CCDelay(0.1f, () => { SetTile("变速BackOut 上图先快后慢,下图正常"); }), CCAction.CCSpawn( CCAction.CCBackEaseOut(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.CCBackEaseOut(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("变速BackInOut 上图前后慢中间快,下图正常"); }), CCAction.CCSpawn( CCAction.CCBackEaseInOut(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.CCBackEaseInOut(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); }