You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
604 B
25 lines
604 B
1 month ago
|
|
||
|
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}";
|
||
|
}
|
||
|
}
|
||
|
}
|