removed commented out code and print statements

the console should finally be message free! except for the unity memory leak lol but that one's not on us
This commit is contained in:
Sam
2023-05-06 19:05:46 -07:00
parent c13793565d
commit b6804e2986
12 changed files with 1 additions and 91 deletions

View File

@@ -29,11 +29,6 @@ public class SceneController : MonoBehaviour
void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
GameObject pauseMenu = GameObject.Find("PauseMenuCanvas");
if (pauseMenu != null)
{
// Button quitButton = GameObject.Find("QuitButton").GetComponent<Button>();
// quitButton.onClick.AddListener(BackToMainMenu);
}
if (scene.buildIndex == 0)
{ // if this is the menu
GameObject.Find("NewGameButton").GetComponent<Button>().onClick.AddListener(NextScene);