当前位置:网站首页>[unity Editor Extension] displays the memory size of all files in the resource directory
[unity Editor Extension] displays the memory size of all files in the resource directory
2022-07-19 02:37:00 【Fantasy world】
This editor extension tool script mainly displays the storage space occupied by all files in the resource directory , It has little practical significance , In the actual development process, we can better allocate our resources by understanding the file size of each module
Shortcut key Alt+K Can be opened or hidden

public class FileCapacity
{
private const string REMOVE_STR = "Assets";
private const string FILESIZE = "FileSize";
private static readonly int mRemoveCount = REMOVE_STR.Length;
private static readonly Color professionalColor = new Color(56f / 255, 56f / 255, 56f / 255, 1);
private static readonly Color personaloColor = new Color(194f / 255, 194f / 255, 194f / 255, 1);
private static Dictionary<string, long> DirSizeDictionary = new Dictionary<string, long>();
p边栏推荐
猜你喜欢

Use of sqlmap

Bugku---- regular matching, cookies

The solution to the bounce and offset of unity3d game characters when jumping to the ground

Sword finger offer 53 - I. find the number I in the sorted array

Use JMeter to test services based on websocket protocol

逻辑漏洞----身份验证漏洞

JMeter response time test component & multi interface concurrency

Jmeter接口测试之响应断言

Interpretation of concurrent virtual users, RPS and TPS

The JMeter BeanShell implementation writes the parameterized data generated by the request to the file
随机推荐
逆元(名字太多人用我就加这几个字)
Simple use case writing specification
For solopi app performance test
Response assertion of JMeter interface test
流量回放工具gor使用经验
最长上升子序列----优化
bugku题解
Inverse yuan (I'll add these words if there are too many people using the name)
2022最新软件测试工具大全
简单记录一下并查集
剑指 Offer 48. 最长不含重复字符的子字符串
2022 latest software testing tools
BeanShell script gets the current time
SSTI模板注入
Post man JSON script to JMX script of JMeter
[antv G2] how to add a click event to the line chart (click anywhere to get the value of the point on the line)
Jstat命令查看jvm的GC情况
VLAN and trunk port configuration
uni app 微信小程序 点餐系统【再来一单】页面跳转
理解:什么是接口,接口的概念