Itween
2016-04-08 14:09
204 查看
public void SetButtonRotate(GameObject obj, bool isSelect) { if (isSelect) { //open Hashtable tabel = new Hashtable(); tabel.Add("rotation", new Vector3(0, 0, -90)); tabel.Add("time", 0.3f); tabel.Add("easetype", iTween.EaseType.spring); iTween.RotateTo(obj, tabel); } else { //close iTween.RotateTo(obj, new Vector3(0, 0, 0), 0.1f); } }
相关文章推荐
- 移动设备适配基础知识速成
- myeclipse如何更改字体颜色以及背景色
- 如何附加被分离的质疑数据库? [转]
- 第5次Java作业+LSYang
- flux学习笔记
- 解决 Agent admitted failure to sign using the key 问题 with ssh
- struts(一)
- servlet容器开发要点
- What is Cluster Aware Updating in Windows Server 2012?
- Http协议
- TCP的四次挥手
- Htttp协议
- TCP数据包结构
- Json与Gson讲解
- 网络
- 线程学习
- java中怎么解决路径中文的问题
- Json
- MySQL、SQLServer2000(及SQLServer2005)和ORCALE三种数据库实现分页查询的方法
- header 无法实现跳转