Skip to content

Instantly share code, notes, and snippets.

View onesketchyguy's full-sized avatar
:shipit:
Stealthy side coding

Forrest H Lowe onesketchyguy

:shipit:
Stealthy side coding
View GitHub Profile
@Happsson
Happsson / InactiveCodeDetector.cs
Last active September 14, 2023 15:35
A script that lets you find unused scripts in your unity projects.
/*
This tool iterates through all the files in your project and checks for scripts.
It then goes through all the GameObjects in all the scenes in the project, and
checks for scripts that are not present on any GameObjects.
Note that this does not mean that the script is not used, just that it is possible that it isn't.
The script could still be used in many other ways. This tool is just to narrow the search for
unused code.