Unity3D editor script to remove a component from all children of an object
- Save the file to your Assets/Editor folder.
- Modify the classes to refer to the
ComponentNameyou want removed.
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.