18 lines
387 B
C#
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();
|
|
}
|
|
} |