{"id":197,"date":"2020-11-20T15:51:14","date_gmt":"2020-11-20T07:51:14","guid":{"rendered":"http:\/\/admin.lastdream.net\/?p=197"},"modified":"2020-11-20T15:51:14","modified_gmt":"2020-11-20T07:51:14","slug":"nzhongrangunityxianrusixunhuandefangfazhuanzai","status":"publish","type":"post","link":"https:\/\/admin.vsingers.com\/index.php\/2020\/11\/20\/nzhongrangunityxianrusixunhuandefangfazhuanzai\/","title":{"rendered":"N\u79cd\u8ba9Unity\u9677\u5165\u6b7b\u5faa\u73af\u7684\u65b9\u6cd5\uff08\u8f6c\u8f7d\uff09"},"content":{"rendered":"<div>http:\/\/blog.sina.com.cn\/s\/blog_4a2183a601018fki.html<\/div>\n<div><\/div>\n<div>\u7528\u4e862\u5e74\u591aunity\u4e86\uff0c \u72af\u8fc7N\u591a\u767d\u75f4\u9519\u8bef\uff0c\u6bd4\u5982\u5404\u79cd\u6b7b\u5faa\u73afbug&#8230;.<\/div>\n<div><\/div>\n<p>\u6700\u50bb\u903c\u7684 while\u5faa\u73af\u65e0\u6cd5\u6ee1\u8db3\u9000\u51fa\u6761\u4ef6<\/p>\n<div>while(a&lt;b) DoSomething(); \u7ed3\u679c\u5199\u9519\u6761\u4ef6\u5bfc\u81f4a \u6c38\u8fdc\u4e0d\u4f1a\u5927\u4e8eb,\u60b2\u5267\u4e86&#8230;.<\/div>\n<div><\/div>\n<div>\u6700\u767d\u75f4\u7684 for\u5faa\u73af\u4e5f\u80fd\u6b7b<\/div>\n<div>for\uff08int i=n; i&gt;=0; i-=2\uff09\u4e2d\u4e0d\u5e78\u5427i-=2\u5199\u6210i=2&#8230;..<\/div>\n<div><\/div>\n<div>\u5047\u6b7b\u53d8\u771f\u6b7b<\/div>\n<div>\u534f\u540c\u51fd\u6570\u00a0<wbr \/>while(true){} \u91cc\u5fd8\u8bb0\u5199 yield return 1&#8230;&#8230;\u00a0<wbr \/><\/div>\n<div><\/div>\n<div>\u51fd\u6570\u8c03\u7528\u5224\u65ad\u6761\u4ef6\u5931\u8bef<\/div>\n<div>\u67d0\u4e2a \u63d2\u4ef6\u91cc\u5076\u5c14\u4f1a\u53d1\u751f\u7684\uff0c Function1\u8c03\u7528\u4e86Function2, Function2\u5224\u65ad\u6761\u4ef6\u4e0d\u6ee1\u8db3\u53c8\u8c03\u7528\u4e86Function1&#8230;&#8230;<\/div>\n<div><\/div>\n<div>\u9012\u5f52\u5f52\u5f52\u5f52\u5f52\u5f52&#8230;&#8230;<\/div>\n<div>\u67d0\u4e2a\u540c\u4e8b\u5e72\u7684\uff0c\u9012\u5f52\u67e5\u8be2\u8def\u5f84\u5199\u5165\u5468\u56f4\u8fde\u63a5\u70b9\u7684\u65f6\u5019\u5fd8\u8bb0\u68c0\u67e5\u5427\u4e0a\u4e00\u7ea7\u4e5f\u5199\u5165\u4e86&#8230;..<\/div>\n<div><\/div>\n<div>\u6211\u9700\u8981\u90a3\u4e2a\u7ec4\u4ef6&#8230;..<\/div>\n<div>unity\u91cc\u53ef\u4ee5\u7528 RequireComponent \u8981\u6c42\u8fd9\u4e2a\u811a\u672c\u9700\u8981\u4e00\u4e2a\u7ec4\u4ef6\u652f\u63f4\uff0c\u6709\u4e2a\u529f\u80fd\u5206\u6210\u4e24\u4e2a\u811a\u672c\u5199\uff0c\u9274\u4e8e\u52a0\u4e0a\u8fd9\u4e2a\u5982\u679c\u7269\u4f53\u4e0a\u6ca1\u6709\u8fd9\u4e2a\u7ec4\u4ef6\u5c31\u4f1a\u81ea\u52a8\u6dfb\u52a0\u9700\u8981\u7684\u7ec4\u4ef6\uff0c\u4e8e\u662f\u6211\u5728\u4e24\u4e2a\u811a\u672c\u4e0a\u90fd\u52a0\u4e0a\u4e86RequreireComponent\u53e6\u4e00\u4e2a\u811a\u672c\uff0c\u4e8e\u662f&#8230;&#8230;.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/blog.sina.com.cn\/s\/blog_4a2183a601018fki.html \u7528\u4e86 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-u3d"],"_links":{"self":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":0,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"wp:attachment":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}