apilatosba
hi, i needed to use nongeneric version of `RemoveComponent<T>()` function. In the remarks it tells ``` // Note: Use Friflo.Engine.ECS.EntityUtils.RemoveEntityComponent(Friflo.Engine.ECS.Entity,Friflo.Engine.ECS.ComponentType) // as non generic alternative ``` but i couldn't figure out how to obtain the `Friflo.Engine.ECS.ComponentType` in the first place. I have the `System.Type componentType;`. Could you maybe provide an example of how to use that function? Basically i wanted to do something like this: ```csharp // remove component from entity { ... System.Type componentType = ...; Friflo.Engine.ECS.Entity fe = ...; RemoveComponent(fe, componentType); ... } ``` Doing this works: ```csharp { System.Type type = ...; Friflo.Engine.ECS.Entity fe = ...; EntitySchema entitySchema = EntityStore.GetEntitySchema(); ComponentType componentType = (ComponentType)entitySchema.SchemaTypeByKey[type.Name]; return Friflo.Engine.ECS.EntityUtils.RemoveEntityComponent(fe, componentType); } ``` but i doubt that this is the intended way to use this function.