void ComboHitSequenceCompletedEventHandler(ComboHitSequence hitSequence) { IncreaseHype(hitSequence.BonusMultiplier); }
public void ShowSequence(ComboHitSequence hitSequence) { this.hitSequence = hitSequence; this.hitSequence.Reset(); this.isActive = true; }
public ComboHitSequence Create(ComboHitSequenceDTO comboHitSequenceDTO) { ComboHitSequence hitSequence = new ComboHitSequence(comboHitSequenceDTO.name, comboHitSequenceDTO.triggerFrequency, comboHitSequenceDTO.bonusMultiplier, comboHitSequenceDTO.triggerZone.ToRect()); hitSequence.HitZones = comboHitSequenceDTO.hitZones; return hitSequence; }
private void ComboHitSequenceCompletedEventHandler(ComboHitSequence comboHitSequence) { playerPropertyService.IncreaseExperiencePoints(comboHitSequence.BonusMultiplier); }
private void SequenceTerminatedEventHandler(ComboHitSequence hitSequence) { lastSequenceTime = Time.time; }
private void SequenceAchievedCallbackEventHandler(ComboHitSequence hitSequence) { GetComponents<AudioSource>()[SequenceAchievedAudioClipIndex].Play(); OnComboHitSequenceCompleted(hitSequence); Boss.GetComponent<BossController>().ComboHit(hitSequence.BonusMultiplier); }