forked from akanyan/mu3-mods
initial commit
This commit is contained in:
23
BetterGiveUp/MU3.Notes/patch_FieldObject.cs
Normal file
23
BetterGiveUp/MU3.Notes/patch_FieldObject.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user