Skip to content

like3ds/Mesh-Info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Mesh Info Window (Unity Editor Tool)

A lightweight Unity Editor window that displays polygon (triangle) and vertex counts for selected objects, including all their child meshes.

✨ Features
Automatically counts all child objects
Excludes meshes tagged EditorOnly from total statistics
Shows excluded meshes marked as “EditorOnly (excluded)”
One-click “Set Tag: Untagged” button to restore excluded objects
Displays per-mesh info: vertices, triangles, submeshes, materials, and asset path

🧩 Installation
Create a folder: Assets/Editor/
Save the script as Mesh.cs inside that folder.
Open via menu: Tools → Mesh Info

🖥️ Usage
Select one or multiple GameObjects in the Scene or Hierarchy.
The window will show total vertex/triangle counts (excluding EditorOnly meshes).
Each mesh block lists detailed stats and materials.
If any mesh has the tag EditorOnly, it is skipped in totals but can be re-tagged with one click.


RU
Простое окно редактора Unity, которое показывает количество полигонов (треугольников) и вершин у выделенных объектов, включая все их дочерние меши.

✨ Возможности
Всегда считает все дочерние объекты
Исключает меши с тегом EditorOnly из общей статистики
Отмечает такие меши как “EditorOnly (excluded)”
Кнопка “Set Tag: Untagged” снимает тег одним кликом
Показывает: количество вершин, трисов, сабмешей, материалов и путь к mesh-файлу

🧩 Установка
Создай папку: Assets/Editor/
Сохрани скрипт под именем Mesh.cs
Открой через меню: Tools → Mesh Info

🖥️ Использование
Выдели один или несколько объектов в сцене.
Вверху появится общая статистика (без EditorOnly).
Внизу — подробности по каждому мешу.
Для “EditorOnly”-мешей можно снять тег кнопкой Set Tag: Untagged.

Screenshot

About

A lightweight Unity Editor window that displays polygon (triangle) and vertex counts for selected objects, including all their child meshes.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages