Fork me on GitHub

03 2015 档案

摘要:50% //此方法用于计算百分比 public String getPercent(int x,int total){ if(x==0&&total!=0){ return "0"; }else if(x==0... 阅读全文
posted @ 2015-03-22 15:36 何海洋 阅读(1128) 评论(0) 推荐(0)
摘要:public class xuanzhuan : MonoBehaviour { //平移速度变量 public float MoveSpeed;// Use this for initialization void Start () { } // Update... 阅读全文
posted @ 2015-03-12 21:59 何海洋 阅读(742) 评论(0) 推荐(0)
摘要:1、物体公转,即围绕一个中心物体旋转public class gongzhuan : MonoBehaviour { public GameObject Axis;//轴,用于选择围绕中心 public float RotateSpeed;//旋转速度// Use this for in... 阅读全文
posted @ 2015-03-12 21:57 何海洋 阅读(8093) 评论(0) 推荐(0)
摘要:修改conf文件夹下面的server.xml的Engine里面的内容即可原始内容如下:…… 此处可以设置其他域名,与localhost具有相同效果 ……假设(1)你只有一个IP地址:125.125.125.125(2)然后做了三个网站:百度,谷歌,管理后台... 阅读全文
posted @ 2015-03-05 19:05 何海洋 阅读(981) 评论(0) 推荐(0)