Class HitEffectsSet
All prefabs needed by HitObjectManager to hit/miss effects, grouped for easy reference.
Inheritance
HitEffectsSet
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
CustomEffects
Declaration
public Dictionary<string, Effects> CustomEffects
Field Value
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
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
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
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
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
Methods
OnAfterDeserialize()
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()