1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 20:22:55 +08:00

Add ToString on PathControlPoint for debugging

This commit is contained in:
Huo Yaoyuan 2024-02-28 22:37:14 +08:00
parent f49aa4d815
commit 4bff54d35d

View File

@ -76,5 +76,9 @@ namespace osu.Game.Rulesets.Objects
}
public bool Equals(PathControlPoint other) => Position == other?.Position && Type == other.Type;
public override string ToString() => type is null
? $"Position={Position}"
: $"Position={Position}, Type={type}";
}
}