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

Search Results for

    Class BasicDemoWithAltHitCircleMain

    This example shows how to use IHitObjectSizeCalculator to make the Hit Objects get increasingly smaller as we go further along the combo counter. On a new combo, it resets to the largest size.

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    BasicDemoMain
    BasicDemoWithAltHitCircleMain
    Implements
    ISongStartCountdown
    IBeatmapEnd
    IHitObjectSizeCalculator
    Inherited Members
    BasicDemoMain._beatmapRunner
    BasicDemoMain.StartGame()
    BasicDemoMain.Pause(Boolean)
    BasicDemoMain.Restart()
    BasicDemoMain.OnStartCountdown()
    BasicDemoMain.CountdownLength
    BasicDemoMain.OnBeatmapEnd(IBeatmapResults)
    Namespace: MouseDance.Demo
    Assembly: MouseDance.Demo.dll
    Syntax
    public class BasicDemoWithAltHitCircleMain : BasicDemoMain, ISongStartCountdown, IBeatmapEnd, IHitObjectSizeCalculator
    Remarks

    Note that this is a subclass of BasicDemoMain, so all the callbacks that BasicDemoMain registers will also be done by this subclass (ISongStartCountdown to show a countdown animation, and IBeatmapEnd to show a Results screen afterwards).

    Methods

    Awake()

    Declaration
    protected override void Awake()
    Overrides
    BasicDemoMain.Awake()

    GetHitCircleRadius(Int32, Int32, Int32, HitCircle, Beatmap)

    Declaration
    public float GetHitCircleRadius(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
    Type Description
    Single

    GetSliderCircleRadius(Int32, Int32, Int32, Slider, Beatmap)

    Declaration
    public float GetSliderCircleRadius(int idx, int comboCounter, int comboColourIdx, Slider slider, Beatmap beatmap)
    Parameters
    Type Name Description
    Int32 idx
    Int32 comboCounter
    Int32 comboColourIdx
    OsuParsers.Beatmaps.Objects.Slider slider
    OsuParsers.Beatmaps.Beatmap beatmap
    Returns
    Type Description
    Single

    Implements

    ISongStartCountdown
    IBeatmapEnd
    IHitObjectSizeCalculator

    Extension Methods

    Util.SetLayerDeep(Component, LayerMask)
    Util.SetLayerDeep(Component, Int32)
    Util.SetLayerDeep(Component, LayerMask, Stack<Transform>)