namespace CoreGame.Render { public class AmmoBarData : ISptPool { public bool isRate; //是否是弹药比率 public float ammoRate; public float reloadCdTotal; public float reloadCdAcc; public void Reset() { isRate = false; ammoRate = 0f; reloadCdTotal = 0f; reloadCdAcc = 0f; } public override string ToString() { return $"isRate:{isRate} ammoRate:{ammoRate} reloadCdTotal:{reloadCdTotal} reloadCdAcc:{reloadCdAcc}"; } } }