mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Make RandomSeed a property, not a bindable
This commit is contained in:
@ -36,11 +36,13 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawables
|
||||
|
||||
VisualRepresentation.BindValueChanged(_ => updatePiece());
|
||||
HyperDash.BindValueChanged(_ => updatePiece(), true);
|
||||
}
|
||||
|
||||
RandomSeed.BindValueChanged(_ =>
|
||||
{
|
||||
ScaleContainer.Rotation = (RandomSingle(1) - 0.5f) * 40;
|
||||
}, true);
|
||||
protected override void UpdateInitialTransforms()
|
||||
{
|
||||
base.UpdateInitialTransforms();
|
||||
|
||||
ScaleContainer.Rotation = (RandomSingle(1) - 0.5f) * 40;
|
||||
}
|
||||
|
||||
private void updatePiece()
|
||||
|
Reference in New Issue
Block a user