Declaration
func RemoveComponent(target entity, componentID Type, out var isSuccess bool)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | entity | Target Entity |
| Component | Type | Component type ID. Only custom components created by users are supported |
Out
| Name | Type | Description |
|---|---|---|
| Is Success | Bool | Whether the removal is successful. Non-existent components or non-custom components will fail to be removed. |