public void OnTriggerEnter2D(Collider2D other)
    {
        if (other.gameObject.tag == "Coin")
        {
            Destroy(other.gameObject);
            gameController.IncrementCoin(1);
        }

        if (other.CompareTag("Door"))
        {
            gameController.SaveCoins();
            SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
        }
    }
    public void OnTriggerEnter2D(Collider2D other)
    {
        //Collect coins
        if (other.gameObject.tag == "Coin")
        {
            Destroy(other.gameObject);
            gameController.IncrementCoin(1);
            audioData.PlayOneShot(coin_sound, 1f);
        }

        //Enter open door
        if (other.CompareTag("Door"))
        {
            gameController.SaveCoins();
            SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
        }

        if (other.CompareTag("Key"))
        {
            audioData.PlayOneShot(key_sound, 1f);
        }
    }