{"type":"rich","author_url":"https://blog.hatena.ne.jp/baba_s/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","height":"190","provider_url":"https://hatena.blog","author_name":"baba_s","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2019%2F11%2F27%2F100000\" title=\"\u3010Unity\u3011Android \u306e\u30d0\u30a4\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u6642\u9593\u3092\u6307\u5b9a\u3067\u304d\u308b\u300cUniAndroidVibration\u300d\u7d39\u4ecb - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Unity","Unity - GitHub","Unity - \u30e2\u30d0\u30a4\u30eb"],"width":"100%","published":"2019-11-27 10:00:00","description":"\u306f\u3058\u3081\u306b \u300cUniAndroidVibration\u300d\u3092 Unity \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067 Android \u306e\u30d0\u30a4\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u6642\u9593\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059 \u4f7f\u3044\u65b9 using UnityEngine; public class Example : MonoBehaviour { private void Update() { if ( Input.GetMouseButtonDown( 0 ) ) { UniAndroidVibration.Vibrate( 1000 ); } } } UniAndroidVibration.Vibrate \u3092\u547c\u3073\u51fa\u3059\u3060\u3051\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059 \u632f\u52d5\u3055\u305b\u308b\u6642\u9593\u306f\u30df\u30ea\u79d2\u3067\u2026","title":"\u3010Unity\u3011Android \u306e\u30d0\u30a4\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u6642\u9593\u3092\u6307\u5b9a\u3067\u304d\u308b\u300cUniAndroidVibration\u300d\u7d39\u4ecb","version":"1.0","blog_url":"https://baba-s.hatenablog.com/","provider_name":"Hatena Blog","url":"https://baba-s.hatenablog.com/entry/2019/11/27/100000"}