热门标签
更多>
搜索结果
查询Tags标签: xVelocity,共有 2条记录-
Unity3D C#学习之路(五)C# 跳跃和移动
使人物移动和跳跃:Rigidbody2D rb; public float speed = 8f; //移动速度 public float jumpForce = 6.3f; //跳跃速度 bool jumpPressed; //是否按下跳跃键void Start() {rb = Component<Rigidbody2D>(); //获取刚体组件 }void Update() {if(input.Ge…
2021/8/2 22:35:47 人评论 次浏览 -
Unity3D C#学习之路(五)C# 跳跃和移动
使人物移动和跳跃:Rigidbody2D rb; public float speed = 8f; //移动速度 public float jumpForce = 6.3f; //跳跃速度 bool jumpPressed; //是否按下跳跃键void Start() {rb = Component<Rigidbody2D>(); //获取刚体组件 }void Update() {if(input.Ge…
2021/8/2 22:35:47 人评论 次浏览