eva.js.gameobject.removecomponent_2
Home > @eva/eva.js > GameObject > removeComponent
GameObject.removeComponent() method
Signature:removeComponent<T extends Component<ComponentParams>>(c: ComponentConstructor<T>): T;
Parameters
Parameter | Type | Description |
---|---|---|
c | ComponentConstructor<T> |
T