public void CycleToPreviousCrystal() { if (_crystalIndex == 0) { _crystalIndex = _crystalIDs.Count - 1; } else { _crystalIndex--; } SetCrystalColor(); SwitchedWeaponEvent?.Invoke(this); }
public void CycleToNextCrystal() { _crystalIndex = (_crystalIndex + 1) % _crystalIDs.Count; SetCrystalColor(); SwitchedWeaponEvent?.Invoke(this); }