{"id":2410,"date":"2020-11-03T22:52:48","date_gmt":"2020-11-03T13:52:48","guid":{"rendered":"https:\/\/obenkyolab.com\/?p=2410"},"modified":"2022-01-08T10:59:00","modified_gmt":"2022-01-08T01:59:00","slug":"%e3%80%90unity%e3%80%91%e3%82%b2%e3%83%bc%e3%83%a0%e3%83%91%e3%83%83%e3%83%89%ef%bc%88f310%ef%bc%89%e3%81%a8input-manager%e3%81%a8%e3%81%ae%e5%af%be%e5%bf%9c%e3%81%be%e3%81%a8%e3%82%81","status":"publish","type":"post","link":"https:\/\/obenkyolab.com\/?p=2410","title":{"rendered":"\u3010Unity\u3011\u30b2\u30fc\u30e0\u30d1\u30c3\u30c9\uff08F310\uff09\u3068Input Manager\u3068\u306e\u5bfe\u5fdc\u307e\u3068\u3081"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/obenkyolab.com\/?p=2410\/#%E6%A6%82%E8%A6%81\" >\u6982\u8981<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/obenkyolab.com\/?p=2410\/#%E7%B5%90%E8%AB%96\" >\u7d50\u8ad6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/obenkyolab.com\/?p=2410\/#%E3%83%9E%E3%83%83%E3%83%94%E3%83%B3%E3%82%B0%E3%81%AE%E7%A2%BA%E8%AA%8D%E6%96%B9%E6%B3%95\" >\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u78ba\u8a8d\u65b9\u6cd5<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/obenkyolab.com\/?p=2410\/#%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E8%A8%AD%E5%AE%9A\" >\u4f7f\u7528\u3057\u305f\u8a2d\u5b9a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/obenkyolab.com\/?p=2410\/#%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88\" >\u4f7f\u7528\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%A6%82%E8%A6%81\"><\/span>\u6982\u8981<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Unity\u3067\u30ed\u30b8\u30af\u30fc\u30eb\u88fd\u306eF310\u3067\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u64cd\u4f5c\u3059\u308b\u969b\u306b\u3001F310\u306e\u5404\u30dc\u30bf\u30f3\u3092Input Manager\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u3053\u306e\u3068\u304d\u3001\u3069\u306e\u30dc\u30bf\u30f3\u304cUnity\u7528\u306eaxis\u3084joystick button\u306b\u3069\u306e\u3088\u3046\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304b\u304c\u826f\u304f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u4eca\u5f8c\u306e\u305f\u3081\u306b\u8abf\u3079\u3066\u7d75\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%B5%90%E8%AB%96\"><\/span>\u7d50\u8ad6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>F310\u3068InputManager\u306e\u6a5f\u80fd\u3068\u306e\u5bfe\u5fdc\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u3067\u3057\u305f\u3002\u77e2\u5370\u304c\u4f38\u3073\u3066\u3044\u306a\u3044\u771f\u3093\u4e2d\u306e\u30dc\u30bf\u30f3\u3068\u771f\u3093\u4e2d\u306e\u5c11\u3057\u5de6\u4e0b\u306e\u30dc\u30bf\u30f3\u306f\u5206\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2020\/11\/image-10-700x340.png\" alt=\"\" class=\"wp-image-2414\" width=\"675\" height=\"327\" srcset=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2020\/11\/image-10-700x340.png 700w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2020\/11\/image-10-300x146.png 300w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2020\/11\/image-10-768x373.png 768w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2020\/11\/image-10.png 1039w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%83%9E%E3%83%83%E3%83%94%E3%83%B3%E3%82%B0%E3%81%AE%E7%A2%BA%E8%AA%8D%E6%96%B9%E6%B3%95\"><\/span>\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u78ba\u8a8d\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u4eca\u56de\u5b9f\u65bd\u3057\u305f\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u8abf\u67fb\u65b9\u6cd5\u3068\u3057\u3066\u3001Input Manager\u3067F310Test\u3068\u3044\u3046\u540d\u524d\u306e\u30dc\u30bf\u30f3\u3092\u4f5c\u308a\u3001Positive Button\u306e\u90e8\u5206\u3092joystic button0\u304b\u3089\u9806\u756a\u306b\u6570\u5b57\u3092\u5897\u3084\u3057\u3066\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u5074\u3067\u62bc\u3057\u305f\u3089\u53cd\u5fdc\u3059\u308bDebug.Log\u3092\u5410\u304b\u305b\u3066\u5730\u9053\u306b\u8abf\u3079\u3066\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u306a\u304a\u3001\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u306a\u3069\u306eAxis\u3092\u8abf\u3079\u308b\u3068\u304d\u306fType\u3092Joystick Axis\u306b\u3057\u305f\u4e0a\u3067Axis\u3092\u3044\u308d\u3044\u308d\u3068\u5909\u3048\u306a\u304c\u3089\u8abf\u3079\u3066\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E8%A8%AD%E5%AE%9A\"><\/span>\u4f7f\u7528\u3057\u305f\u8a2d\u5b9a<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"328\" src=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2020\/11\/image-8.png\" alt=\"\" class=\"wp-image-2412\" srcset=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2020\/11\/image-8.png 516w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2020\/11\/image-8-300x191.png 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88\"><\/span>\u4f7f\u7528\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\nusing System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class F310test : MonoBehaviour\n{\n    \/\/ Start is called before the first frame update\n    void Start()\n    {\n        \n    }\n\n    \/\/ Update is called once per frame\n    void Update()\n    {\n        if (Input.GetButton(&quot;F310Test&quot;))\n            Debug.Log(&quot;thisone&quot;);\n    }\n}\n<\/pre><\/div>\n\n\n<p>\u4ee5\u4e0a<\/p>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Unity\u3092\u4e00\u304b\u3089\u5b66\u3076\u306e\u306b\u304a\u3059\u3059\u3081\u306e\u672c\u306f\u30b3\u30c1\u30e9<\/span><\/strong><\/p>\n\n\n\n<iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"https:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?ref=qf_sp_asin_til&amp;t=sebone0f-22&amp;m=amazon&amp;o=9&amp;p=8&amp;l=as1&amp;IS2=1&amp;detail=1&amp;asins=B08CB1RS5V&amp;linkId=18bb2ebedf43ec8b22e41eae43c36cd0&amp;bc1=000000&amp;lt1=_blank&amp;fc1=333333&amp;lc1=0066c0&amp;bg1=ffffff&amp;f=ifr\">\n    <\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 Unity\u3067\u30ed\u30b8\u30af\u30fc\u30eb\u88fd\u306eF310\u3067\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u64cd\u4f5c\u3059\u308b\u969b\u306b\u3001&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1805,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"https:\/\/obenkyolab.com\/?p=2410","footnotes":""},"categories":[44],"tags":[],"class_list":["post-2410","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-unity","ja"],"_links":{"self":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/2410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2410"}],"version-history":[{"count":7,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/2410\/revisions"}],"predecessor-version":[{"id":3852,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/2410\/revisions\/3852"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/media\/1805"}],"wp:attachment":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}