<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bluebirdofoz</author_name>
  <author_url>https://blog.hatena.ne.jp/bluebirdofoz/</author_url>
  <blog_title>MRが楽しい</blog_title>
  <blog_url>https://bluebirdofoz.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>本日は HoloLens の技術調査枠です。 Unityのスクリプトで実行環境がHoloLensか識別する方法について記事にします。 実行環境の識別方法 スクリプトから実行中のデバイスを識別する場合、SystemInfo.devicemodel を利用します。 docs.unity3d.com例えば以下のように HoloLens か否かを識別できます。 if (SystemInfo.deviceModel.Contains(&quot;HoloLens&quot;)) { // HoloLensでの実行処理... } else { // HoloLens以外の実行処理... } 実機での動作を確認する 実際にアプ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbluebirdofoz.hatenablog.com%2Fentry%2F2020%2F03%2F05%2F095644&quot; title=&quot;Unityのスクリプトで実行環境がHoloLensか識別する - MRが楽しい&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-ak.f.st-hatena.com/images/fotolife/b/bluebirdofoz/20200305/20200305095136.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-05 09:56:44</published>
  <title>Unityのスクリプトで実行環境がHoloLensか識別する</title>
  <type>rich</type>
  <url>https://bluebirdofoz.hatenablog.com/entry/2020/03/05/095644</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
