<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>marumaro7</author_name>
  <author_url>https://blog.hatena.ne.jp/marumaro7/</author_url>
  <blog_title>アプリ個人開発　まるブログ</blog_title>
  <blog_url>https://marumaro7.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>要件 はじめに 対応方法 Udemy講座 参考 要件 Unityバージョン 2022.3.16f1 Google Mobile Ads SDK v9.1.0 はじめに iOSの実機にてリワード広告を再生した際、 アプリが一時停止せずに動き続けていることに気がつきました。（今更） 現在開発中のアプリ内ではアイテム使用時にタイマーを使用しており、 動画広告再生中にタイマーが進行してしまうため動画再生中は動作を止める必要がありました。 今回、対応した内容を紹介します。 対応方法 方法は簡単でAdMob広告のスクリプトのスタート関数に以下を呼び出すだけです。 #if UNITY_IOS //iOSでフ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmarumaro7.hatenablog.com%2Fentry%2FSetiOSAppPauseOnBackground&quot; title=&quot;【Unity】iOSの実機でリワード広告時にアプリの動作を止める方法 - アプリ個人開発　まるブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/153281226/159262037063052</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-08-10 07:50:29</published>
  <title>【Unity】iOSの実機でリワード広告時にアプリの動作を止める方法</title>
  <type>rich</type>
  <url>https://marumaro7.hatenablog.com/entry/SetiOSAppPauseOnBackground</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
