コード例 #1
0
    IEnumerator LoadScene()
    {
        StartCoroutine(WebManager.ConnectDB(indexNextScene - 1, HeroMove.num_coins, 1, 0, Math.Abs(Convert.ToInt32(Timer.minutes * 60 + Timer.seconds))));
        HM.enabled = false;
        animHero.SetBool("onDeath", true);
        animHero.SetBool("onDeathAstral", false);
        animHero.Play("hero_death");
        yield return(new WaitForSeconds(0.8f));

        gear.GearWindow(indexNextScene);
    }