摘要: #pragma strictvar t:GUIText;var y:float = 0.1;function Start () {}function Update () { if (Input.touchCount > 0) { if(Input.GetTouch(0).phase == TouchPhase.Began ){ if((Time.time - y) < 0.3){ t.text = "gun"; animation.CrossFade("Run"); }else{ ... 阅读全文
posted @ 2012-08-05 13:20 softimagewht 阅读(210) 评论(0) 推荐(0)