mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:43:22 +08:00
Use more descriptive HitObject names for debugger displays
This commit is contained in:
parent
67f1511ad1
commit
91f2cf8cc3
@ -12,6 +12,7 @@ using JetBrains.Annotations;
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
using osu.Framework.Extensions.ListExtensions;
|
using osu.Framework.Extensions.ListExtensions;
|
||||||
|
using osu.Framework.Extensions.TypeExtensions;
|
||||||
using osu.Framework.Lists;
|
using osu.Framework.Lists;
|
||||||
using osu.Game.Audio;
|
using osu.Game.Audio;
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
@ -228,6 +229,8 @@ namespace osu.Game.Rulesets.Objects
|
|||||||
|
|
||||||
return new HitSampleInfo(sampleName);
|
return new HitSampleInfo(sampleName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string ToString() => $"{GetType().ReadableName()} @ {StartTime}";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class HitObjectExtensions
|
public static class HitObjectExtensions
|
||||||
|
Loading…
Reference in New Issue
Block a user