mirror of
https://github.com/DCFApixels/DragonECS-ClassicThreads.git
synced 2025-09-18 11:54:34 +08:00
15 lines
464 B
C#
15 lines
464 B
C#
namespace DCFApixels.DragonECS
|
|
{
|
|
public static class EcsGroupExtensions
|
|
{
|
|
public static void IterateParallel(this EcsGroup self, EcsThreadHandler worker, int minSpanSize)
|
|
{
|
|
IterateParallel(self, worker, minSpanSize);
|
|
}
|
|
public static void IterateParallel(this EcsReadonlyGroup self, EcsThreadHandler worker, int minSpanSize)
|
|
{
|
|
ThreadRunner.Run(worker, self, minSpanSize);
|
|
}
|
|
}
|
|
}
|