Class MyHitObjectSet
Sample sub-class of HitObjectSet to show how you can change prefab instantiation rules.
Inheritance
MyHitObjectSet
Assembly: MouseDance.Demo.dll
Syntax
[CreateAssetMenu(fileName = "MyHitObjectSet", menuName = "MouseDance/MyHitObjectSet")]
public class MyHitObjectSet : HitObjectSet
Fields
SpecialHitCirclePrefab
Declaration
public HitCircle SpecialHitCirclePrefab
Field Value
Methods
GetHitCirclePrefab(Int32, Int32, Int32, HitCircle, Beatmap)
Declaration
public override (string, HitCircle) GetHitCirclePrefab(int idx, int comboCounter, int comboColourIdx, HitCircle hitCircle, Beatmap beatmap)
Parameters
Type |
Name |
Description |
Int32 |
idx |
|
Int32 |
comboCounter |
|
Int32 |
comboColourIdx |
|
OsuParsers.Beatmaps.Objects.HitCircle |
hitCircle |
|
OsuParsers.Beatmaps.Beatmap |
beatmap |
|
Returns
Overrides