{"title":"Android\u3067\u30b8\u30e3\u30a4\u30ed\u3092\u4f7f\u3046\u6642\u306e\u6ce8\u610f","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2014%2F03%2F16%2F233559\" title=\"Android\u3067\u30b8\u30e3\u30a4\u30ed\u3092\u4f7f\u3046\u6642\u306e\u6ce8\u610f - \u307f\u30fc\u306e\u307a\u30fc\u3058\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"atsuhiro-me","description":"Unity\u3067Android\u306e\u30b8\u30e3\u30a4\u30ed\u3092\u4f7f\u304a\u3046\u3068\u3057\u3066\u30cf\u30de\u3063\u305f\uff0e\u3069\u3046\u3084\u3089\uff0cGyroscope.enabled\u3092true\u306b\u3057\u306a\u3051\u308c\u3070\u4f7f\u3048\u306a\u3044\u3089\u3057\u3044\uff0e \u6700\u521d\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b8\u30e3\u30a4\u30ed\u3092\u6709\u52b9\u306b\u3057\u3066\uff0c def Start (): gb = SystemInfo.supportsGyroscope; if gb: Input.gyro.enabled = true else: Debug.Log(\"Gyro is not supported.\") \u3068\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\uff0e\u3053\u306e\u5f8c\uff0c def Update(): g = Input.gyro.gravity \u3068\u3057\u3066g as Vector3\u3092\u6b63\u5e38\u306b\u53d6\u5f97\u3067\u304d\u308b\uff0e\u3082\u3057\u3082Gyro\u2026","blog_url":"https://pc.atsuhiro-me.net/","width":"100%","categories":["Unity"],"blog_title":"\u307f\u30fc\u306e\u307a\u30fc\u3058","type":"rich","provider_name":"Hatena Blog","published":"2014-03-16 23:35:59","author_url":"https://blog.hatena.ne.jp/atsuhiro-me/","version":"1.0","image_url":null,"url":"https://pc.atsuhiro-me.net/entry/2014/03/16/233559","height":"190"}