public void AddCaduceus() { _count++; OnCaduceusCountChanged?.Invoke(this, new OnCaduceusCountChangedEventArgs { count = _count }); }
private void Awake() { Instance = this; OnCaduceusCountChanged?.Invoke(this, new OnCaduceusCountChangedEventArgs { count = _count }); }
public void Activate() { if (_count > 0 && PlayerManager.Instance.Revive()) { PlayerManager.Instance.Revive(); _count--; OnCaduceusCountChanged?.Invoke(this, new OnCaduceusCountChangedEventArgs { count = _count }); } }