remove unnecessary method
parent
91cf93e1c9
commit
7c6410275f
|
@ -25,12 +25,6 @@ namespace MoonTools.ECS
|
||||||
storages[index] = new ComponentStorage<TComponent>();
|
storages[index] = new ComponentStorage<TComponent>();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: is this necessary?
|
|
||||||
private ComponentStorage Lookup(Type type)
|
|
||||||
{
|
|
||||||
return storages[ComponentTypeIndices.GetIndex(type)];
|
|
||||||
}
|
|
||||||
|
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
private ComponentStorage<TComponent> Lookup<TComponent>() where TComponent : unmanaged
|
private ComponentStorage<TComponent> Lookup<TComponent>() where TComponent : unmanaged
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue