<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuhiro-me</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuhiro-me/</author_url>
  <blog_title>みーのぺーじ</blog_title>
  <blog_url>https://pc.atsuhiro-me.net/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>UnityでAndroidのジャイロを使おうとしてハマった．どうやら，Gyroscope.enabledをtrueにしなければ使えないらしい． 最初に以下のようにジャイロを有効にして， def Start (): gb = SystemInfo.supportsGyroscope; if gb: Input.gyro.enabled = true else: Debug.Log(&quot;Gyro is not supported.&quot;) とする必要がある．この後， def Update(): g = Input.gyro.gravity としてg as Vector3を正常に取得できる．もしもGyro…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2014%2F03%2F16%2F233559&quot; title=&quot;Androidでジャイロを使う時の注意 - みーのぺーじ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-03-16 23:35:59</published>
  <title>Androidでジャイロを使う時の注意</title>
  <type>rich</type>
  <url>https://pc.atsuhiro-me.net/entry/2014/03/16/233559</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
