Struct HitObjectReaction
How you want a Hit Object to react to being clicked on.
Namespace: MouseDance.Runtime
Assembly: MouseDance.Runtime.dll
Syntax
public struct HitObjectReaction
Fields
EffectsId
Optional identifier for the sound/visual effects you want to be played. Only applies to Hit Circles. Leave at null to just use defaults.
Declaration
public string EffectsId
Field Value
Type | Description |
---|---|
String |
ReactType
Determines whether player is allowed to proceed with their pressing of the specified Hit Object.
Declaration
public ReactType ReactType
Field Value
Type | Description |
---|---|
ReactType |
Properties
Default
Default HitObjectReaction will allow Hit Object to proceed with being clicked on, and use default visual and sound effects upon being hit.
Declaration
public static readonly HitObjectReaction Default { get; }
Property Value
Type | Description |
---|---|
HitObjectReaction |
Remarks
This is no guarantee that the Hit Object is collected, as that is still subject to the timing window and pressing in proper sequence.