Example #1
0
    public void LaunchLevel(Level p_level)
    {
        m_levelToLoad = p_level;
        m_playerHealth.FullHeal();
        GameConfiguration.Instance.Player.transform.position = Vector2.zero;

        SceneManager.LoadScene("Level");
        LevelRunning            = true;
        m_playerHealth.OnDeath += LevelLose;
    }