public void Dispose()
 {
     FreeLayoutHelper.EndObserve();
     CameraPositionChecker.Stop();
     //NOTE: コイツによるプロセス閉じ処理はsender/receiverに依存しないことに注意。
     UnityAppCloser.Close();
 }
 public RuntimeHelper(IMessageSender sender, IMessageReceiver receiver, RootSettingSync mainModel)
 {
     _sender               = sender;
     _receiver             = receiver;
     CameraPositionChecker = new CameraPositionChecker(sender, mainModel.Layout);
     UnityAppCloser        = new UnityAppCloser(receiver);
     ErrorIndicator        = new ErrorMessageIndicator(receiver);
     FreeLayoutHelper      = new DeviceFreeLayoutHelper(mainModel.Layout, mainModel.Window);
 }