mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Added WorldEnumerator with 4 generic parameters
This commit is contained in:
@@ -257,6 +257,12 @@ namespace GlitchyEngine.World
|
||||
return WorldEnumerator<TComponent0, TComponent1, TComponent2>(this);
|
||||
}
|
||||
|
||||
public WorldEnumerator<TComponent0, TComponent1, TComponent2, TComponent3> Enumerate<TComponent0, TComponent1, TComponent2, TComponent3>()
|
||||
where TComponent0 : struct where TComponent1 : struct where TComponent2 : struct where TComponent3 : struct
|
||||
{
|
||||
return WorldEnumerator<TComponent0, TComponent1, TComponent2, TComponent3>(this);
|
||||
}
|
||||
|
||||
public static void Test()
|
||||
{
|
||||
EcsWorld world = new .();
|
||||
|
||||
Reference in New Issue
Block a user