Class SoundEffectSet
All AudioClips needed by HitObjectManager for hit/miss sound effects, grouped for easy reference.
Inheritance
SoundEffectSet
Assembly: MouseDance.Runtime.dll
Syntax
[CreateAssetMenu(fileName = "SoundEffectSet", menuName = "MouseDance/SoundEffectSet")]
public class SoundEffectSet : ScriptableObject, ISerializationCallbackReceiver
Fields
_CustomSoundEffect
Declaration
[Space(20F)]
[Tooltip("Custom sounds meant for use in custom rules.")]
public List<SoundEffectSet.CustomSoundEffect> _CustomSoundEffect
Field Value
CustomSound
Declaration
public Dictionary<string, AudioClip> CustomSound
Field Value
DefaultHitSound
Declaration
[Header("Hit Sounds")]
[Tooltip("Hit sound meant for when user successfully pressed a hit object.")]
public AudioClip DefaultHitSound
Field Value
DefaultMissSound
Declaration
[Tooltip("Error sound meant for when user was not able to press a hit object at all. This plays as the hit object disappears.")]
public AudioClip DefaultMissSound
Field Value
DefaultOutOfSequenceSound
Declaration
[Tooltip("Error sound meant for when user tries to press a hit object that isn't supposed to be hit yet (e.g. user is trying to press Hit Circle 2 when Hit Circle 1 hasn't been pressed yet).")]
public AudioClip DefaultOutOfSequenceSound
Field Value
DefaultSliderHeadHitSound
Declaration
[Tooltip("Hit sound meant for when user successfully pressed the head of a Slider.")]
public AudioClip DefaultSliderHeadHitSound
Field Value
DefaultSliderReachedHeadHitSound
Declaration
[Tooltip("Hit sound meant for when the ball reaches the head of a Slider (when moving in reverse) while user has their mouse down on it.")]
public AudioClip DefaultSliderReachedHeadHitSound
Field Value
DefaultSliderReachedTailHitSound
Declaration
[Tooltip("Hit sound meant for when the ball reaches the tail of a Slider while user has their mouse down on it.")]
public AudioClip DefaultSliderReachedTailHitSound
Field Value
DefaultSliderTickHitSound
Declaration
[Tooltip("Hit sound meant for when user successfully passed through a Slider Tick object.")]
public AudioClip DefaultSliderTickHitSound
Field Value
DefaultTooEarlySound
Declaration
[Header("Error Sounds")]
[Tooltip("Error sound meant for when user tries to press a hit object that was supposed to be hit, but it's not yet time to hit it.")]
public AudioClip DefaultTooEarlySound
Field Value
Declaration
[Tooltip("Error sound meant for when user tries to press a hit object that was supposed to be hit, but whose time is already up.")]
public AudioClip DefaultTooLateSound
Field Value
Methods
OnAfterDeserialize()
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()