Method DeleteComponentByType
DeleteComponentByType(ComponentType, uint, bool)
Delete component from type
Declaration
public void DeleteComponentByType(ComponentType componentType, uint occurrence, bool followPrototypes = true)
Parameters
Type | Name | Description |
---|---|---|
ComponentType | componentType | Type of the component |
uint | occurrence | The occurrence to remove components from |
bool | followPrototypes | If true and if the component is not set on the occurrence, try to find it on its prototyping chain |