コード例 #1
0
    void OnCollisionEnter2D(Collision2D other)
    {
        if (other.gameObject.tag == "killbox")
        {
            IntroManager.RestartGame1();

            moveSpeed              = moveSpeedStore;
            speedMilestoneCount    = speedMilestoneCountStore;
            speedIncreaseMilestone = speedIncreaseMilestoneStore;
            deathSound.Play();
        }
    }