// Use this for initialization void Start() { float highscore = ResultScene.ToScore(); Title.SetActive(true); PtoS.SetActive(true); HighScore.SetActive(true); HighScore.GetComponent <Text>().text = "さいそく:" + highscore.ToString("f1") + " びょう"; GameOver.SetActive(false); HP_1.SetActive(false); HP_2.SetActive(false); HP_3.SetActive(false); HP_4.SetActive(false); Life.SetActive(false); loadScene = SceneManager.GetActiveScene(); }