[MenuScalePatch] Cleanup

This commit is contained in:
NotAKidoS 2023-08-14 18:54:06 -05:00
parent 8a27bd8f7b
commit cf0ec02c01
2 changed files with 4 additions and 4 deletions

View file

@ -23,12 +23,12 @@ public class MainMenuHelper : MonoBehaviour
public bool NeedsPositionUpdate; public bool NeedsPositionUpdate;
public bool MenuIsOpen; public bool MenuIsOpen;
void Awake() private void Awake()
{ {
Instance = this; Instance = this;
} }
void LateUpdate() private void LateUpdate()
{ {
if (!MenuIsOpen) return; if (!MenuIsOpen) return;

View file

@ -21,12 +21,12 @@ public class QuickMenuHelper : MonoBehaviour
public bool NeedsPositionUpdate; public bool NeedsPositionUpdate;
public bool MenuIsOpen; public bool MenuIsOpen;
void Awake() private void Awake()
{ {
Instance = this; Instance = this;
} }
void LateUpdate() private void LateUpdate()
{ {
if (!MenuIsOpen) return; if (!MenuIsOpen) return;