1
0
forked from akanyan/mu3-mods

initial commit

This commit is contained in:
2024-05-22 06:57:39 +09:00
commit edddcbffd7
9 changed files with 333 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#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 {
public class patch_BarNotes {
public class patch_Bar : BarNotes.Bar {
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;
}
}
}
}