private void OnTriggerEnter2D(Collider2D collision) { if (!collision.gameObject.CompareTag("PlayerProjectile") && !collision.gameObject.CompareTag("PlayerUlt")) { SceneManagement.LevelSelect(); } }
public void ToLevelSelect() { Time.timeScale = 1f; isPaused = false; pm.SetPauseUI(isPaused); SceneManagement.LevelSelect(); }
public void ToLevelSelect() { if (pm.IsHelpOpen()) { return; } playBossVanquished = false; Time.timeScale = 1f; isPaused = false; pm.SetPauseUI(isPaused); SceneManagement.LevelSelect(); }
private IEnumerator ShowImage() { float alpha = 0; while (alpha < 1) { alpha += .05f; Color c = image.color; c.a = alpha; image.color = c; yield return(null); } yield return(new WaitForSeconds(3f)); SceneManagement.LevelSelect(); }
public void LevelSelect() { SceneManagement.LevelSelect(); }