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