unity 常用函数

GameObject.FindGameObjectByTag();
anim.SetFloat("speed",Mathf.Abs(h));
Physics2D.lineCast2D(transform.position,groundCheck.position,1<<LayerMask.NameToLay("ground"));
AddForce();
posted @ 2016-03-27 10:32  yufenghou  阅读(291)  评论(0编辑  收藏  举报