﻿{"id":2455,"date":"2022-07-29T15:29:47","date_gmt":"2022-07-29T07:29:47","guid":{"rendered":"http:\/\/nick.txtcc.com\/?p=2455"},"modified":"2022-07-29T15:29:47","modified_gmt":"2022-07-29T07:29:47","slug":"unity-%e6%b7%bb%e5%8a%a0memory-profiler","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/other\/2455","title":{"rendered":"unity \u6dfb\u52a0Memory Profiler"},"content":{"rendered":"<p>\u9009\u62e9Window -> Package Manager<\/p>\n<p>\u9009\u62e9\u5c0f\u52a0\u53f7+ -> from git url<\/p>\n<p>\u5728\u5f39\u51fa\u7684\u8f93\u5165\u6846\u4e2d\u8f93\u5165 com.unity.memoryprofiler<\/p>\n<p>\u70b9\u51fb\u8f93\u5165\u6846\u53f3\u4fa7\u7684Add \u5c31\u5b89\u88c5\u5566\n\u6b64\u65f6\u5728\u83dc\u5355\u680f\u91cc\u5c31\u53ef\u4ee5\u770b\u5230Memory Profiler\u5566<\/p>\n<p>&nbsp;<\/p>\n<p>\u5b89\u88c5\u65b0\u7684\u5185\u5b58\u5206\u6790\u5de5\u5177\u8fc7\u7a0b\u5982\u4e0b\n\u6253\u5f00package manager\uff0c\u9009\u62e9\u9ad8\u7ea7\u9009\u9879<\/p>\n<p>\u52fe\u9009show preview package\uff0c\u8fd9\u4e2a\u9009\u9879\u53ef\u4ee5\u4f7f\u7528\u975e\u7a33\u5b9a\u7248\u7684\u5305\uff0c\u610f\u601d\u5c31\u662f\u8fd9\u4e2a\u5de5\u5177\u73b0\u5728\u8fd8\u6ca1\u6709\u6b63\u5f0f\u53d1\u5e03\uff0c\u8fd8\u5728\u6d4b\u8bd5\u9636\u6bb5\u3002\u4e0d\u8fc7\u5b9e\u9645\u4e0a\u4f7f\u7528\u8d77\u6765\u6ca1\u4ec0\u4e48\u95ee\u9898<\/p>\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u641c\u7d22\u5230memory profiler\u8fd9\u4e2a\u5305\uff0c\u8fdb\u884c\u5b89\u88c5<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u5c31\u53ef\u4ee5\u5728window>Analysis > Memory Profiler \u4e0b\u6253\u5f00\n\u8fd9\u4e2a\u5de5\u5177\u4f7f\u7528\u5f88\u7b80\u5355\uff0c\u53ea\u8981\u5728\u6e38\u620f\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u70b9\u51fbcapture\uff0c\u5c31\u53ef\u4ee5\u83b7\u5f97\u4e00\u5f20\u5f53\u524d\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u7684\u5feb\u7167\uff0c\u53ef\u4ee5\u5177\u4f53\u770b\u5230\u4ec0\u4e48\u4e1c\u897f\u5360\u7528\u4e86\u591a\u5c11\u5185\u5b58\u3002\u8fd8\u53ef\u4ee5\u6355\u83b7\u4e24\u5f20\u5feb\u7167\uff0c\u8fdb\u884cdiff\u6bd4\u5bf9\u5dee\u5f02\u3002\n\u5177\u4f53\u9879\u76ee\u9700\u8981\u5177\u4f53\u5206\u6790\u3002\u5982\u679c\u6e38\u620f\u6709\u672a\u77e5\u7684\u5185\u5b58\u95ee\u9898\uff0c\u53ef\u4ee5\u8bd5\u8bd5\u8fd9\u4e2a\u5de5\u5177\uff0c\u975e\u5e38\u597d\u7528\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u9009\u62e9Window -> Package Manager \u9009\u62e9\u5c0f\u52a0\u53f7+ -> from git url \u5728\u5f39\u51fa\u7684\u8f93\u5165\u6846\u4e2d\u8f93\u5165 com.unity.memoryprofiler \u70b9\u51fb\u8f93\u5165\u6846\u53f3\u4fa7\u7684Add \u5c31&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[525,524],"class_list":["post-2455","post","type-post","status-publish","format-standard","hentry","category-other","tag-memoryprofiler","tag-unity"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=2455"}],"version-history":[{"count":1,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2455\/revisions"}],"predecessor-version":[{"id":2456,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2455\/revisions\/2456"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=2455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=2455"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=2455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}