private void Fire() { // 火花 MuzzleFlash muzzleFlash = PoolsManager.Instance.Get <MuzzleFlash>(); muzzleFlash.SetMuzzlePos(gunPoint); // 发射子弹 Bullet bullet = PoolsManager.Instance.Get <Bullet>(); bullet.Set(damage, gunPoint, speed, gameObject.layer); BulletCountInClip--; }