}//点滅メソッド private IEnumerator Flash(Paint.Name NowColor, Paint.Name NewColor) { //点滅開始 IsFlash = true; //NowBackgroundColor = Paint.Name.Change; //点滅メソッド呼出 yield return(StartCoroutine(Flashing(NowColor, NewColor))); NowBackgroundColor = NewColor; //新しい背景色を登録 GameRoot.RoteBehind(); //道を出現・消滅させる IsFlash = false; //点滅終了 }