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

24 lines
721 B
C#
Raw Normal View History

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;
public class patch_FieldObject: FieldObject {
2024-05-21 21:57:39 +00:00
public class patch_BarNotes {
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;
}
}
}
}