protected override void Update() { base.Update(); if (IsSelected) { BodyPiece.UpdateFrom(HitObject); } }
protected override void LoadComplete() { base.LoadComplete(); pathVersion = HitObject.Path.Version.GetBoundCopy(); pathVersion.BindValueChanged(_ => updatePath()); BodyPiece.UpdateFrom(HitObject); }
protected override void LoadComplete() { base.LoadComplete(); controlPoints.BindTo(HitObject.Path.ControlPoints); pathVersion.BindTo(HitObject.Path.Version); pathVersion.BindValueChanged(_ => editorBeatmap?.Update(HitObject)); BodyPiece.UpdateFrom(HitObject); }