mu3-mods/BetterGiveUp/MU3.Notes/patch_NotesManager.cs
2024-07-04 21:39:11 +09:00

18 lines
387 B
C#

using UnityEngine;
namespace MU3.Notes;
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();
}
}