[go: up one dir, main page]

Skip to content

Editor utility for unity to help check resources in the current scene (including active textures, their sizes, materials, meshes and which objects are using them)

Notifications You must be signed in to change notification settings

handcircus/Unity-Resource-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 

Repository files navigation

// Unity Resource Checker
// (c) 2012 Simon Oliver / HandCircus / hello@handcircus.com
// https://github.com/handcircus/Unity-Resource-Checker
// Public domain, do with whatever you like, commercial or not
// This comes with no warranty, use at your own risk!

Resource checker is designed to help bring visibility to resource use in your scenes (ie what assets are using up memory,
which meshes are a bit too detailed, where are my materials and textures being used).

It should also be useful to check for redundant materials, textures you forget you're using, textures that can be compressed or reduced in size.

To use, just create an "Editor" folder within "Assets" in your project if you don't already have one, and drop ResourceChecker.cs in there.

In Unity you'll see a new option under "Window" -> "Resource Checker"

To use, once the window is open, just click 'Refresh' and it will list all active textures, materials and meshes in the scene

Textures
--------

- Textures are listed in descending memory size
- Click the texture name to open the asset in the project window
- The size of the texture, compression type and dimensions are show
- Click the 'X Mat' button to select all materials that use this texture in the scene
- Click the 'X GO' to select all game objects in the scene that use this texture

Materials
---------

- Click the material name to open the material asset in the project window
- Click the 'X GO' to select all game objects in the scene that use this material

Meshes
------
- Meshes are listed in descending vertex count
- Click the mesh name to open the mesh in the project window
- Click the 'X GO' to select all game objects in the scene that use this mesh

Its probably got a bunch of bugs and weird issues - feel free to help improve, fix up!

About

Editor utility for unity to help check resources in the current scene (including active textures, their sizes, materials, meshes and which objects are using them)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages