Improve this, don't know why it wasn't there anyways

This commit is contained in:
Lncvrt committed 2026-02-21 21:14:31 -07:00
1 parent 3e9ea36fa9
commit 213329bee7
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -44,6 +44,7 @@ public class AutoGamePlayer : MonoBehaviour {
void Awake() {
Instance = this;
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
}
void Start() {
@@ -53,7 +54,6 @@ public class AutoGamePlayer : MonoBehaviour {
Cursor.visible = false;
Cursor.lockState = CursorLockMode.Locked;
backgroundMusic.volume = BazookaManager.Instance.GetSettingMusicVolume();
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
if (Application.isMobilePlatform) pauseButton.gameObject.SetActive(true);
UpdateStats(0, 1);
}
@@ -51,6 +51,7 @@ public class CustomGamePlayer : MonoBehaviour {
void Awake() {
Instance = this;
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
}
void Start() {
@@ -149,7 +150,6 @@ public class CustomGamePlayer : MonoBehaviour {
Cursor.visible = false;
Cursor.lockState = CursorLockMode.Locked;
backgroundMusic.volume = BazookaManager.Instance.GetSettingMusicVolume();
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
if (Application.isMobilePlatform) mobileButtons.SetActive(true);
UpdateStats(0, 1);
}
+1 -1
View File
@@ -53,6 +53,7 @@ public class GamePlayer : MonoBehaviour {
void Awake() {
Instance = this;
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
}
void Start() {
@@ -133,7 +134,6 @@ public class GamePlayer : MonoBehaviour {
Cursor.visible = false;
Cursor.lockState = CursorLockMode.Locked;
backgroundMusic.volume = BazookaManager.Instance.GetSettingMusicVolume();
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
if (Application.isMobilePlatform) mobileButtons.SetActive(true);
UpdateStats(0, 1);
}