mu3-mods/BetterGiveUp/MU3.Notes/patch_FieldObject.cs

19 lines
573 B
C#
Raw Normal View History

2024-07-04 12:39:11 +00:00
using UnityEngine;
2024-05-21 21:57:39 +00:00
namespace MU3.Notes;
2024-07-04 12:39:11 +00:00
class patch_FieldObject: FieldObject {
class patch_BarNotes {
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;
}
}
}
}