Exemple #1
0
    private void Awake()
    {
        if (Instance == null)
        {
            Instance = this;
        }
        else if (Instance != this)
        {
            Destroy(gameObject);
            return;
        }

        ResetFadeAlpha();
        equalizerController.Initialize();
        cutSceneLines.gameObject.SetActive(false);
        beatController.Deactivate();
        danceMoveUI.Initialize();
        uiInventory.Close();
        blackAnnouncer.Close(true);
        corruption.UpdateCorruption(0);
        messageBox.Hide(true);
        gameLogo.Deactivate();
        gameOverScreen.Deactivate();
    }