{"id":123303,"date":"2026-11-07T01:56:43","date_gmt":"2026-11-06T17:56:43","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/123303.html"},"modified":"2026-11-07T01:56:43","modified_gmt":"2026-11-06T17:56:43","slug":"unity%e5%86%b7%e9%97%a8%e5%bf%ab%e6%8d%b7%e9%94%ae%ef%bc%88%e4%b8%89%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/123303.html","title":{"rendered":"Unity\u51b7\u95e8\u5feb\u6377\u952e\uff08\u4e09\uff09"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<p style=\"margin-left:0;margin-right:0\"><span style=\"color:black\">\u8c03\u8bd5\u89d2\u8272\u79fb\u52a8\u65f6&#xff0c;\u76ee\u6807\u4e00\u8dd1\u8fdc&#xff0c;Scene \u89c6\u56fe\u91cc\u5c31\u627e\u4e0d\u5230\u4e86\u3002\u6bcf\u6b21\u91cd\u65b0\u5b9a\u4f4d&#xff0c;\u518d\u62d6\u7740\u89c6\u89d2\u8ffd\u8fc7\u53bb&#xff0c;\u521a\u624d\u60f3\u770b\u7684\u78b0\u649e\u8fc7\u7a0b\u4e5f\u5df2\u7ecf\u7ed3\u675f\u3002\u9047\u5230\u8fd9\u79cd\u60c5\u51b5&#xff0c;\u53ef\u4ee5\u8bd5\u8bd5 Shift&#043;F\u3002<\/span><\/p>\n<p style=\"margin-left:0;margin-right:0\"><span style=\"color:black\">\u8fd9\u4e2a\u529f\u80fd\u53eb Lock View to Selected\u3002\u9501\u5b9a\u9009\u4e2d\u7684\u7269\u4f53\u540e&#xff0c;\u5373\u4f7f\u5b83\u5728\u8fd0\u884c\u4e2d\u79fb\u52a8&#xff0c;Scene \u89c6\u56fe\u4e5f\u4f1a\u8ddf\u7740\u89c2\u5bdf&#xff0c;\u9002\u5408\u68c0\u67e5\u89d2\u8272\u8f6c\u5f2f\u3001\u8f66\u8f86\u884c\u9a76\u548c\u521a\u4f53\u843d\u5730\u3002<\/span><\/p>\n<h2 style=\"margin-left:0;margin-right:0\"><span style=\"color:black\">\u64cd\u4f5c\u65b9\u6cd5<\/span><\/h2>\n<p style=\"margin-left:18pt;margin-right:0\"><span style=\"color:black\">1. \u628a Scene \u548c Game \u4e24\u4e2a\u7a97\u53e3\u653e\u5230\u80fd\u540c\u65f6\u770b\u89c1\u7684\u4f4d\u7f6e&#xff0c;\u518d\u8fdb\u5165 Play \u6a21\u5f0f\u3002<\/span><\/p>\n<p style=\"margin-left:18pt;margin-right:0\"><span style=\"color:black\">2. \u5728 Hierarchy \u4e2d\u9009\u4e2d\u9700\u8981\u89c2\u5bdf\u7684\u76ee\u6807&#xff0c;\u4f18\u5148\u9009\u62e9\u5b9e\u9645\u53d1\u751f\u4f4d\u79fb\u7684\u89d2\u8272\u6216\u8f66\u8f86\u6839\u5bf9\u8c61\u3002<\/span><\/p>\n<p style=\"margin-left:18pt;margin-right:0\"><span style=\"color:black\">3. \u628a\u9f20\u6807\u79fb\u5230 Scene \u89c6\u56fe&#xff0c;\u6309 Shift&#043;F\u3002\u7269\u4f53\u7ee7\u7eed\u79fb\u52a8\u65f6&#xff0c;\u5c31\u80fd\u770b\u5230\u89c6\u89d2\u8ddf\u7740\u5b83\u8d70\u3002<\/span><\/p>\n<p style=\"margin-left:18pt;margin-right:0\"><span style=\"color:black\">4. \u5982\u679c\u76ee\u6807\u9700\u8981\u952e\u76d8\u63a7\u5236&#xff0c;\u518d\u70b9\u51fb Game \u7a97\u53e3&#xff0c;\u8ba9\u5b83\u63a5\u6536\u8f93\u5165&#xff0c;\u540c\u65f6\u7559\u610f\u65c1\u8fb9\u7684 Scene \u89c6\u56fe\u3002<\/span><\/p>\n<h2 style=\"margin-left:0;margin-right:0\"><span style=\"color:black\">\u548c\u666e\u901a F \u952e\u6709\u4ec0\u4e48\u533a\u522b<\/span><\/h2>\n<p style=\"margin-left:0;margin-right:0\"><span style=\"color:black\">\u6309 F \u662f\u628a Scene \u89c6\u56fe\u5b9a\u4f4d\u5230\u9009\u4e2d\u7269\u4f53&#xff1b;Shift&#043;F \u5219\u4f1a\u5728\u7269\u4f53\u79fb\u52a8\u65f6\u7ee7\u7eed\u8ddf\u968f\u3002\u53ea\u60f3\u627e\u56de\u573a\u666f\u4e2d\u7684\u67d0\u4e2a\u7269\u4f53&#xff0c;\u7528 F \u5c31\u591f\u4e86&#xff1b;\u9700\u8981\u6301\u7eed\u89c2\u5bdf\u8fd0\u52a8\u8fc7\u7a0b&#xff0c;\u518d\u7528 Shift&#043;F\u3002<\/span><\/p>\n<p style=\"margin-left:0;margin-right:0\"><span style=\"color:black\">\u8fd9\u91cc\u8ddf\u968f\u7684\u662f\u7f16\u8f91\u5668\u7684\u89c2\u5bdf\u89c6\u89d2\u3002Game \u89c6\u56fe\u7684\u6784\u56fe\u4ecd\u7531\u573a\u666f\u91cc\u7684\u6444\u50cf\u673a\u51b3\u5b9a&#xff0c;\u6b63\u5f0f\u6e38\u620f\u4e2d\u7684\u955c\u5934\u8ddf\u968f\u8fd8\u9700\u8981\u5355\u72ec\u8bbe\u7f6e\u3002<\/span><\/p>\n<h2 style=\"margin-left:0;margin-right:0\"><span style=\"color:black\">\u6309\u952e\u6ca1\u53cd\u5e94\u65f6\u5148\u770b\u7a97\u53e3\u7126\u70b9<\/span><\/h2>\n<p style=\"margin-left:0;margin-right:0\"><span style=\"color:black\">\u5982\u679c\u521a\u521a\u4e00\u76f4\u5728 Inspector \u91cc\u6539\u6570\u503c&#xff0c;\u5148\u628a\u9f20\u6807\u79fb\u56de Scene \u89c6\u56fe\u518d\u6309\u5feb\u6377\u952e\u3002\u89d2\u8272\u7a81\u7136\u4e0d\u54cd\u5e94\u65b9\u5411\u952e\u65f6&#xff0c;\u4e5f\u5148\u70b9\u56de Game \u7a97\u53e3&#xff0c;\u786e\u8ba4\u5b83\u80fd\u63a5\u6536\u8f93\u5165\u3002<\/span><\/p>\n<p style=\"margin-left:0;margin-right:0\"><span style=\"color:black\">\u81ea\u5b9a\u4e49\u8fc7\u5feb\u6377\u952e\u7684\u8bdd&#xff0c;\u53ef\u4ee5\u5728 Windows \u7684 Edit &gt; Shortcuts \u4e2d\u641c\u7d22 Lock View to Selected&#xff0c;\u6838\u5bf9\u5f53\u524d\u7ed1\u5b9a&#xff1b;macOS \u5bf9\u5e94 Unity &gt; Shortcuts\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[183,735],"topic":[],"class_list":["post-123303","post","type-post","status-publish","format-standard","hentry","category-server","tag-unity","tag-735"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Unity\u51b7\u95e8\u5feb\u6377\u952e\uff08\u4e09\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/123303.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unity\u51b7\u95e8\u5feb\u6377\u952e\uff08\u4e09\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/123303.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-06T17:56:43+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/123303.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/123303.html\",\"name\":\"Unity\u51b7\u95e8\u5feb\u6377\u952e\uff08\u4e09\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-06T17:56:43+00:00\",\"dateModified\":\"2026-11-06T17:56:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/123303.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/123303.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/123303.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unity\u51b7\u95e8\u5feb\u6377\u952e\uff08\u4e09\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unity\u51b7\u95e8\u5feb\u6377\u952e\uff08\u4e09\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/123303.html","og_locale":"zh_CN","og_type":"article","og_title":"Unity\u51b7\u95e8\u5feb\u6377\u952e\uff08\u4e09\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/123303.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-06T17:56:43+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/123303.html","url":"https:\/\/www.wsisp.com\/helps\/123303.html","name":"Unity\u51b7\u95e8\u5feb\u6377\u952e\uff08\u4e09\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-06T17:56:43+00:00","dateModified":"2026-11-06T17:56:43+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/123303.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/123303.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/123303.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Unity\u51b7\u95e8\u5feb\u6377\u952e\uff08\u4e09\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/123303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=123303"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/123303\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=123303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=123303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=123303"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=123303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}