mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 18:14:37 +08:00
remove broken overrides
This commit is contained in:
parent
91370afce9
commit
88bc3355b7
@ -30,29 +30,6 @@
|
||||
aspect = executor.Aspect;
|
||||
return executor.ExecuteFor(span);
|
||||
}
|
||||
|
||||
|
||||
public static EcsSpan Where<TCollection, TAspect>(this TCollection entities)
|
||||
where TAspect : EcsAspect
|
||||
where TCollection : IEntitiesCollection
|
||||
{
|
||||
return entities.ToSpan().Where<TAspect>();
|
||||
}
|
||||
public static EcsSpan Where<TAspect>(this EcsReadonlyGroup group)
|
||||
where TAspect : EcsAspect
|
||||
{
|
||||
return group.ToSpan().Where<TAspect>();
|
||||
}
|
||||
public static EcsSpan Where<TAspect>(this EcsSpan span)
|
||||
where TAspect : EcsAspect
|
||||
{
|
||||
EcsWorld world = span.World;
|
||||
if (world.IsEnableReleaseDelEntBuffer)
|
||||
{
|
||||
world.ReleaseDelEntityBufferAll();
|
||||
}
|
||||
return world.GetExecutor<EcsWhereToGroupExecutor<TAspect>>().ExecuteFor(span);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region WhereToGroup
|
||||
@ -79,29 +56,6 @@
|
||||
aspect = executor.Aspect;
|
||||
return executor.ExecuteFor(span);
|
||||
}
|
||||
|
||||
|
||||
public static EcsReadonlyGroup WhereToGroup<TCollection, TAspect>(this TCollection entities)
|
||||
where TAspect : EcsAspect
|
||||
where TCollection : IEntitiesCollection
|
||||
{
|
||||
return entities.ToSpan().WhereToGroup<TAspect>();
|
||||
}
|
||||
public static EcsReadonlyGroup WhereToGroup<TAspect>(this EcsReadonlyGroup group)
|
||||
where TAspect : EcsAspect
|
||||
{
|
||||
return group.ToSpan().WhereToGroup<TAspect>();
|
||||
}
|
||||
public static EcsReadonlyGroup WhereToGroup<TAspect>(this EcsSpan span)
|
||||
where TAspect : EcsAspect
|
||||
{
|
||||
EcsWorld world = span.World;
|
||||
if (world.IsEnableReleaseDelEntBuffer)
|
||||
{
|
||||
world.ReleaseDelEntityBufferAll();
|
||||
}
|
||||
return world.GetExecutor<EcsWhereToGroupExecutor<TAspect>>().ExecuteFor(span);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user