forked from akanyan/mu3-mods
feat!: rename and reorganize
This commit is contained in:
18
Enhancements/BetterGiveUp/MU3.Notes/patch_FieldObject.cs
Normal file
18
Enhancements/BetterGiveUp/MU3.Notes/patch_FieldObject.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace MU3.Notes;
|
||||
|
||||
class patch_FieldObject: FieldObject {
|
||||
class patch_BarNotes {
|
||||
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