private void Die() { Debug.Log("Character Death"); StartCoroutine(LoadScene.AsyncLoadScene("Death")); Destroy(gameObject); }
public IEnumerator EndLevel() { yield return(StartCoroutine(LoadScene.AsyncLoadScene(next))); }