2024-05-21 21:57:39 +00:00
|
|
|
|
#pragma warning disable CS0626
|
|
|
|
|
#pragma warning disable CS0649
|
|
|
|
|
#pragma warning disable IDE0051
|
|
|
|
|
#pragma warning disable IDE1006
|
|
|
|
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace MU3.Notes;
|
2024-05-25 23:15:13 +00:00
|
|
|
|
public class patch_FieldObject: FieldObject {
|
2024-05-21 21:57:39 +00:00
|
|
|
|
public class patch_BarNotes {
|
2024-05-25 23:15:13 +00:00
|
|
|
|
public class patch_Bar: BarNotes.Bar {
|
2024-05-21 21:57:39 +00:00
|
|
|
|
public extern void orig_update(NotesManager mgr, float width = 1f);
|
|
|
|
|
|
|
|
|
|
public new void update(NotesManager mgr, float width = 1f) {
|
|
|
|
|
orig_update(mgr, width);
|
|
|
|
|
if(frameAppear <= (double)mgr.getCurrentFrame() || itemBar == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
itemBar.go.transform.localScale = Vector3.zero;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|