remove_mass_trait
Delete a trait by class or index from a UMassEntityConfig asset, then save and report removed trait details and remaining count.
Instructions
Remove a trait from a Mass entity config (inverse of add_mass_trait)
Returns: { config_path, removed, removed_trait_class, removed_index, trait_count, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_path | Yes | Asset path to the UMassEntityConfig | |
| trait_class | No | Trait class name to remove; removes the first trait whose class is a child of it (mutually exclusive with trait_index) | |
| trait_index | No | Index of the trait to remove (mutually exclusive with trait_class) |