void Start() { option = GameObject.Find("Option"); optionscript = option.GetComponent <Option>(); gauge = PlayerControl.GetGaugeCount(); time = GameSceneManager.GetClearTime(); wave = EnemyManager.GetWaveGameOver(); Text text = text_obj.GetComponent <Text>(); text.text = "ゲージ使用回数 : " + gauge + " タイム : " + time + " 最終Wave : " + wave; audioSource = GetComponent <AudioSource>(); audioSource.clip = BGM; audioSource.Play(); }