iTween

http://u3d.as/content/pixelplacement/i-tween/1s9 download

http://itween.pixelplacement.com/documentation.php#MoveTo api

iTween.MoveTo(gameObject, iTween.Hash("x", 5, "time", 5, "easetype", iTween.EaseType.easeInBack)) ;

  添加的物体(gameObject)以某一动作(easetype)移动到某一位置(hash(x, y, z)||Vector3)

void OnMouseEnter(){} 当鼠标进入该物体时调用

将物体move在鼠标移动到当前物体时以easeInBack的方式移动到当前物体上

    public GameObject move ;
void OnMouseEnter(){
iTween.MoveTo(move, iTween.Hash("x", transform.position.x, "y", transform.position.y, "z", transform.position.z, "time", , "easetype",
      iTween.EaseType.easeInBack)) ;
}
上一篇:Node.js-Socket.IO【1】-身份验证


下一篇:hdwiki 数据库结构说明