remove unnecessary method

filter_relations
cosmonaut 2022-12-02 23:51:54 -08:00
parent 91cf93e1c9
commit 7c6410275f
1 changed files with 0 additions and 6 deletions

View File

@ -25,12 +25,6 @@ namespace MoonTools.ECS
storages[index] = new ComponentStorage<TComponent>();
}
// FIXME: is this necessary?
private ComponentStorage Lookup(Type type)
{
return storages[ComponentTypeIndices.GetIndex(type)];
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private ComponentStorage<TComponent> Lookup<TComponent>() where TComponent : unmanaged
{