private void Start() { oldSelectedGameObject = EventSystem.current.currentSelectedGameObject; soundCollector = gameObject.AddComponent<QuestSelectionSoundCollector>(); isFirstSelected = true; if (!SoundPlayerSingleton.instance.PlayBGM(soundCollector[QuestSelectionSoundCollector.SoundName.BGM], true, SoundPlayerSingleton.FadeMode.FadeIn)) { Debug.LogError("BGMの再生に失敗しました"); } }
private void Start() { oldSelectedGameObject = EventSystem.current.currentSelectedGameObject; soundCollector = gameObject.AddComponent<QuestSelectionSoundCollector>(); isFirstSelected = true; }