Declaración
func RemoveComponent(target entity, componentID Type, out var isSuccess bool)
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
Target | entity | Target Entity |
Component | Type | Component type ID. Only custom components created by users are supported |
Afuera
Nombre | Tipo | Descripción |
---|---|---|
Is Success | Bool | Whether the removal is successful. Non-existent components or non-custom components will fail to be removed. |