unity_component_remove
Remove a component from a Unity GameObject by specifying the object path and component type. Supports index for multiple components.
Instructions
Remove a component from a GameObject.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| index | No | Index if multiple components of same type (default: 0) | |
| componentType | Yes | Type name of the component to remove | |
| gameObjectPath | Yes | Path or name of the target GameObject |