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

Search Results for

    Class HitEffectsSet

    All prefabs needed by HitObjectManager to hit/miss effects, grouped for easy reference.

    Inheritance
    Object
    Object
    ScriptableObject
    HitEffectsSet
    Namespace: MouseDance.Runtime
    Assembly: MouseDance.Runtime.dll
    Syntax
    [CreateAssetMenu(fileName = "HitEffectsSet", menuName = "MouseDance/HitEffectsSet")]
    public class HitEffectsSet : ScriptableObject, ISerializationCallbackReceiver

    Fields

    _CustomVisualEffect

    Declaration
    [Space(20F)]
    [Tooltip("Custom visual effects meant for use in custom rules.")]
    public List<HitEffectsSet.CustomVisualEffect> _CustomVisualEffect
    Field Value
    Type Description
    List<HitEffectsSet.CustomVisualEffect>

    CustomEffects

    Declaration
    public Dictionary<string, Effects> CustomEffects
    Field Value
    Type Description
    Dictionary<String, Effects>

    DefaultHitEffectsPrefab

    Declaration
    [Tooltip("Default Effects that will play when user successfully pressed a hit object. Used if there is nothing assigned in the score-specific hit effects.")]
    public Effects DefaultHitEffectsPrefab
    Field Value
    Type Description
    Effects

    MissEffectsPrefab

    Declaration
    [Tooltip("Effects that will play when user was not able to press a hit object at all. This plays as the hit object disappears.")]
    public Effects MissEffectsPrefab
    Field Value
    Type Description
    Effects

    Score100HitEffectsPrefab

    Declaration
    [Tooltip("Effects that will play when user successfully pressed a hit object within the 100 score hit-window. If not assigned, the Default Hit Effects Prefab is used instead.")]
    public Effects Score100HitEffectsPrefab
    Field Value
    Type Description
    Effects

    Score300HitEffectsPrefab

    Declaration
    [Tooltip("Effects that will play when user successfully pressed a hit object within the 300 score hit-window. This is also used if user hit a Slider perfectly (head, tail, and all ticks were pressed). If not assigned, the Default Hit Effects Prefab is used instead.")]
    public Effects Score300HitEffectsPrefab
    Field Value
    Type Description
    Effects

    Score50HitEffectsPrefab

    Declaration
    [Tooltip("Effects that will play when user successfully pressed a hit object within the 50 score hit-window. If not assigned, the Default Hit Effects Prefab is used instead.")]
    public Effects Score50HitEffectsPrefab
    Field Value
    Type Description
    Effects

    Methods

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()