forked from akanyan/mu3-mods
23 lines
521 B
C#
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();
|
|
}
|
|
} |