Unity 教程和源码

12个Unity3D游戏源码 -  新手必备

愤怒的小鸟攻略技巧秘籍

NGUI 教程收录大全:http://forum.exceedu.com/forum/forum.php?mod=viewthread&tid=26820

 

小夭的游戏编程教室——(五)初音拼图游戏

 

Vector3 targetPos = new Vector3(trans.localPosition.x - x * pictureTile_Width, trans.localPosition.y - y * pictureTile_Width, trans.localPosition.z); 
        iTween.MoveTo(trans.gameObject, iTween.Hash("easetype",iTween.EaseType.easeInCubic,"position", targetPos , "time", 0.4f ,"islocal",true, "oncomplete", "onMoveComplete","oncompletetarget",transform.gameObject)); 

posted @ 2014-10-08 16:24  Zhaoyier  阅读(339)  评论(0编辑  收藏  举报