Add WeaponFeedback component and AddressableManagerWindow meta file
- Implemented WeaponFeedback class for handling weapon-related feedbacks such as hit effects and attack sounds. - Added meta file for AddressableManagerWindow to manage addressable assets. - Included a new jump.data file for profiler data.
This commit is contained in:
@@ -42,6 +42,7 @@ namespace BaseGames.UI.HUD
|
||||
private readonly List<GameObject> _hpCells = new();
|
||||
private readonly List<GameObject> _springIcons = new();
|
||||
private readonly CompositeDisposable _subs = new();
|
||||
private int _lastLingZhu = int.MinValue;
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
@@ -91,7 +92,9 @@ namespace BaseGames.UI.HUD
|
||||
|
||||
private void UpdateLingZhu(int val)
|
||||
{
|
||||
if (_lingZhuText != null) _lingZhuText.text = val.ToString();
|
||||
if (_lingZhuText == null || val == _lastLingZhu) return;
|
||||
_lastLingZhu = val;
|
||||
_lingZhuText.text = val.ToString();
|
||||
}
|
||||
|
||||
private void RebuildSpringIcons(int charges)
|
||||
|
||||
Reference in New Issue
Block a user