using UniRx.Async; async void FrameWait (int frame) { // 指定フレームだけ待つ await UniTask.DelayFrame (frame); }