private IEnumerator PlayOpening() { opGroup.gameObject.SetActive(true); float delay = opParameter.Find(x => x.UseTarget == "ライト降下").Delay; float value = opParameter.Find(x => x.UseTarget == "ライト降下").Value; float duration = opParameter.Find(x => x.UseTarget == "ライト降下").Duration; string easeType = opParameter.Find(x => x.UseTarget == "ライト降下").EaseType; yield return(AppUtil.WaitDO(AppUtil.Move(opLight, new Vector2(opLight.anchoredPosition.x, value), opLight.anchoredPosition, duration, easeType, delay))); delay = opParameter.Find(x => x.UseTarget == "ライト向き変更").Delay; value = opParameter.Find(x => x.UseTarget == "ライト向き変更").Value; duration = opParameter.Find(x => x.UseTarget == "ライト向き変更").Duration; easeType = opParameter.Find(x => x.UseTarget == "ライト向き変更").EaseType; yield return(AppUtil.WaitDO(AppUtil.Scale(opLight, new Vector2(value, 1), duration, easeType, delay))); delay = opParameter.Find(x => x.UseTarget == "タイトル表示").Delay; value = opParameter.Find(x => x.UseTarget == "タイトル表示").Value; duration = opParameter.Find(x => x.UseTarget == "タイトル表示").Duration; easeType = opParameter.Find(x => x.UseTarget == "タイトル表示").EaseType; yield return(AppUtil.WaitDO(AppUtil.Move(opCover, opCover.anchoredPosition, new Vector2(value, opCover.anchoredPosition.y), duration, easeType, delay))); delay = opParameter.Find(x => x.UseTarget == "タイトル反射").Delay; value = opParameter.Find(x => x.UseTarget == "タイトル反射").Value; duration = opParameter.Find(x => x.UseTarget == "タイトル反射").Duration; easeType = opParameter.Find(x => x.UseTarget == "タイトル反射").EaseType; yield return(AppUtil.WaitDO(AppUtil.Move(opTitleReflec, opTitleReflec.anchoredPosition, new Vector2(value, opTitleReflec.anchoredPosition.y), duration, easeType, delay))); delay = opParameter.Find(x => x.UseTarget == "Tap to start表示暗").Delay; value = opParameter.Find(x => x.UseTarget == "Tap to start表示暗").Value; duration = opParameter.Find(x => x.UseTarget == "Tap to start表示暗").Duration; easeType = opParameter.Find(x => x.UseTarget == "Tap to start表示暗").EaseType; float delay_2 = opParameter.Find(x => x.UseTarget == "Tap to start表示明").Delay; float value_2 = opParameter.Find(x => x.UseTarget == "Tap to start表示明").Value; float duration_2 = opParameter.Find(x => x.UseTarget == "Tap to start表示明").Duration; string easeType_2 = opParameter.Find(x => x.UseTarget == "Tap to start表示明").EaseType; yield return(new WaitForSeconds(delay)); AppUtil.Blink(opStartMessage, 50, value, value_2, duration, duration_2, easeType, easeType_2, delay_2); yield return(new WaitUntil(() => Input.GetMouseButtonDown(0))); delay = opParameter.Find(x => x.UseTarget == "スタート画面非表示").Delay; value = opParameter.Find(x => x.UseTarget == "スタート画面非表示").Value; duration = opParameter.Find(x => x.UseTarget == "スタート画面非表示").Duration; easeType = opParameter.Find(x => x.UseTarget == "スタート画面非表示").EaseType; yield return(AppUtil.WaitDO(AppUtil.FadeOut(opGroup, value, duration, easeType, delay))); opGroup.gameObject.SetActive(false); }