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:
parent
f49aa4d815
commit
4bff54d35d
@ -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}";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user