From 30853b6d6264856b75fc510b998cba3f985bdf61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=86=A0=E5=B3=B0?= Date: Thu, 6 Mar 2025 14:31:40 +0800 Subject: [PATCH] update space shooter --- .../Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs index b673c2d6..60a89a42 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Editor/TextureSchema.cs @@ -44,10 +44,10 @@ public class TextureSchema : ScannerSchema string name = "扫描所有纹理资产"; string desc = GetUserGuide(); var report = new ScanReport(name, desc); - report.AddHeader("资源路径", 600, 500, 1000).SetStretchable().SetSearchable().SetSortable().SetHeaderType(EHeaderType.AssetPath); + report.AddHeader("资源路径", 600, 500, 1000).SetStretchable().SetSearchable().SetSortable().SetCounter().SetHeaderType(EHeaderType.AssetPath); report.AddHeader("图片宽度", 100).SetSortable().SetHeaderType(EHeaderType.LongValue); report.AddHeader("图片高度", 100).SetSortable().SetHeaderType(EHeaderType.LongValue); - report.AddHeader("内存大小", 100).SetSortable().SetHeaderType(EHeaderType.LongValue); + report.AddHeader("内存大小", 120).SetSortable().SetUnits("bytes").SetHeaderType(EHeaderType.LongValue); report.AddHeader("苹果格式", 100); report.AddHeader("安卓格式", 100); report.AddHeader("错误信息", 500).SetStretchable();