MouseDance MouseDance
MouseDance MouseDance
MouseDance User Docs powered by DocFx, DiscordFx

Search Results for

    Class SoundEffectSet

    All AudioClips needed by HitObjectManager for hit/miss sound effects, grouped for easy reference.

    Inheritance
    Object
    Object
    ScriptableObject
    SoundEffectSet
    Namespace: MouseDance.Runtime
    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
    Type Description
    List<SoundEffectSet.CustomSoundEffect>

    CustomSound

    Declaration
    public Dictionary<string, AudioClip> CustomSound
    Field Value
    Type Description
    Dictionary<String, AudioClip>

    DefaultHitSound

    Declaration
    [Header("Hit Sounds")]
    [Tooltip("Hit sound meant for when user successfully pressed a hit object.")]
    public AudioClip DefaultHitSound
    Field Value
    Type Description
    AudioClip

    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
    Type Description
    AudioClip

    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
    Type Description
    AudioClip

    DefaultSliderHeadHitSound

    Declaration
    [Tooltip("Hit sound meant for when user successfully pressed the head of a Slider.")]
    public AudioClip DefaultSliderHeadHitSound
    Field Value
    Type Description
    AudioClip

    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
    Type Description
    AudioClip

    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
    Type Description
    AudioClip

    DefaultSliderTickHitSound

    Declaration
    [Tooltip("Hit sound meant for when user successfully passed through a Slider Tick object.")]
    public AudioClip DefaultSliderTickHitSound
    Field Value
    Type Description
    AudioClip

    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
    Type Description
    AudioClip

    DefaultTooLateSound

    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
    Type Description
    AudioClip

    Methods

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()