diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-06-12 00:00:02 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-06-12 00:00:02 +0100 |
| commit | a4fa7002f97b403f1afa467a518652d2c13e23c2 (patch) | |
| tree | a9fa5402a2fbf5c11f1625778c5af753be529d7e /Packages | |
| parent | 014072a946723612c69826c44d6bd84130d9015c (diff) | |
| download | VRCog-a4fa7002f97b403f1afa467a518652d2c13e23c2.tar VRCog-a4fa7002f97b403f1afa467a518652d2c13e23c2.tar.gz VRCog-a4fa7002f97b403f1afa467a518652d2c13e23c2.tar.bz2 VRCog-a4fa7002f97b403f1afa467a518652d2c13e23c2.tar.xz VRCog-a4fa7002f97b403f1afa467a518652d2c13e23c2.zip | |
track skinned/particle meshes, guard null assets in OnGUI
Diffstat (limited to 'Packages')
| -rw-r--r-- | Packages/dev.zue.vrcog/Editor/VRCog/FileStatTree.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Packages/dev.zue.vrcog/Editor/VRCog/FileStatTree.cs b/Packages/dev.zue.vrcog/Editor/VRCog/FileStatTree.cs index f1c7ef9..6c39c2c 100644 --- a/Packages/dev.zue.vrcog/Editor/VRCog/FileStatTree.cs +++ b/Packages/dev.zue.vrcog/Editor/VRCog/FileStatTree.cs @@ -39,6 +39,7 @@ public class FileStatTree : EditorWindow scrollPos = EditorGUILayout.BeginScrollView(scrollPos);
foreach (var info in assetList)
{
+ if (info.asset == null) continue;
EditorGUILayout.BeginHorizontal(EditorStyles.helpBox);
EditorGUILayout.ObjectField(info.asset, info.asset.GetType(), false);
GUILayout.Label(FormatSize(info.size), GUILayout.Width(80));
|
