コード例 #1
0
 private void Die()
 {
     Debug.Log("Character Death");
     StartCoroutine(LoadScene.AsyncLoadScene("Death"));
     Destroy(gameObject);
 }
コード例 #2
0
 public IEnumerator EndLevel()
 {
     yield return(StartCoroutine(LoadScene.AsyncLoadScene(next)));
 }