<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Gigacee</author_name>
  <author_url>https://blog.hatena.ne.jp/Gigacee/</author_url>
  <blog_title>GIGA CREATION Blog</blog_title>
  <blog_url>https://blog.gigacreation.jp/</blog_url>
  <categories>
  </categories>
  <description>PC モバイル はじめに PC では Post Processing を有効にしたいけど、モバイル端末では重たいので無効にしたい。 モバイル端末の場合はOnPointer*を切ってInput.Touchesを使いたい。 ……というように、PC とモバイル端末で処理を分けたいという場合がたまにあります。そんな時、このスクリプトを導入することで、実行環境が PC かモバイル端末かを判別することができます。 github.com 使い方 CheckIfMobileForUnityWebGL.jslib内のIsMobile()を呼ぶと、モバイル端末ならtrue、PC ならfalseが返ってきます。以下…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.gigacreation.jp%2Fentry%2F2020%2F10%2F10%2F124015&quot; title=&quot;Unity WebGL の実行環境が PC かモバイル端末かを判別するスクリプトを公開しました - GIGA CREATION Blog&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://user-images.githubusercontent.com/5264444/95644234-3aceeb00-0af0-11eb-8b93-754c0b3f1062.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-10 12:40:15</published>
  <title>Unity WebGL の実行環境が PC かモバイル端末かを判別するスクリプトを公開しました</title>
  <type>rich</type>
  <url>https://blog.gigacreation.jp/entry/2020/10/10/124015</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
