mu3-mods/BetterGiveUp/MU3.Notes/patch_NotesManager.cs
akanyan a4104a67e7 feat: add infinite gp and skip premusic
Also, run the autoformatter.
Also, the skip is now cleaner.
2024-05-26 08:15:13 +09:00

23 lines
521 B
C#

#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using UnityEngine;
namespace MU3.Notes;
public class patch_NotesManager: NotesManager {
public extern void orig_reset();
public extern Vector3 orig_getEnemyPos();
public Vector3 enemyOffset { get; set; }
public new Vector3 getEnemyPos() => orig_getEnemyPos() + enemyOffset;
public new void reset() {
enemyOffset = Vector3.zero;
orig_reset();
}
}