Usage:
- Save the file to your Assets/Editor folder.
- Modify the classes to refer to the
ComponentNameyou want removed. - Attach
RemoveComponentNamecomponent to the root GameObject the components should be removed from. - Click the "Remove ComponentName" button in the inspector.
- Remove the
RemoveComponentNamecomponent when you're done.