摘要:
function Start () { animation.wrapMode = WrapMode.Loop; animation["jump"].wrapMode = WrapMode.Once; animation["jump"].layer = 1; animation.Stop();}function Update () { if (Mathf.Abs(Input.GetAxis("Vertical")) 0.1) animation.CrossFade("run"); else animation.CrossFade("walk"); if (Input.GetKeyDown ( 阅读全文
posted @ 2010-12-15 16:39
softimagewht
阅读(241)
评论(0)
推荐(0)

浙公网安备 33010602011771号