mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[MenuScalePatch] Cleanup
This commit is contained in:
parent
8a27bd8f7b
commit
cf0ec02c01
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue