2025年8月27日

在让敌人移动的时候 为什么要有方向、实际速度和位置

摘要: //移动属性 public Vector2 Velocity { get; set; } //默认速度 public float Speed { get; set; } = 200f; //方向 public Vector2 Direction { get; set; } //引用到实体的位置 pu 阅读全文

posted @ 2025-08-27 11:47 C#我喜欢 阅读(25) 评论(1) 推荐(0)

导航