{"id":4632,"date":"2022-12-26T11:41:13","date_gmt":"2022-12-26T03:41:13","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=4632"},"modified":"2022-12-26T12:06:03","modified_gmt":"2022-12-26T04:06:03","slug":"unity-device-simulator","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=4632","title":{"rendered":"Unity Device Simulator"},"content":{"rendered":"\n<p><a href=\"https:\/\/docs.unity3d.com\/Packages\/com.unity.device-simulator@3.0\/manual\/index.html\">https:\/\/docs.unity3d.com\/Packages\/com.unity.device-simulator@3.0\/manual\/index.html<\/a><\/p>\n\n\n\n<p>The&nbsp;<strong>Device Simulator<\/strong>&nbsp;is a Unity Editor feature that simulates how certain aspects of your application will appear and behave on a mobile device.<\/p>\n\n\n\n<p>The Device Simulator consists of:<\/p>\n\n\n\n<ul><li>The Device Simulator view, which lets you view your application on a simulated mobile device<\/li><li>Simulated classes, which let you test code that responds to device-specific behaviors<\/li><li>Device definitions, which describe the device to simulate<\/li><li>Device Simulator plugins, which configure the UI of the Device Simulator view<\/li><\/ul>\n\n\n\n<p>\u7528\u6765\u505a\u9002\u914d\u591a\u5206\u8fa8\u7387\/\u591a\u8bbe\u5907\u9002\u914d.<\/p>\n\n\n\n<p>\u6253\u5f00\u65b9\u5f0f\u4e3a Window \/ Generate \/ Device Simulator<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/docs.unity3d.com\/Packages\/com.unity.device-simu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/4632"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4632"}],"version-history":[{"count":3,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/4632\/revisions"}],"predecessor-version":[{"id":4635,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/4632\/revisions\/4635"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}