コード例 #1
0
    IEnumerator EndGame()
    {
        SaveManager.GetTreasureFour();
        MessageDisplay.ShowMessage("YOU DID IT!");
        AudioSource.Play();
        yield return(new WaitForSeconds(1.0f));

        SceneManager.LoadScene(2);
    }