❔ How can I delete a component

For example:
AddComponent<RigidBody>();
//for add rigid body
//But how i delete that rigid body¿
Was this page helpful?