mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 18:14:37 +08:00
add EcsMask.ToStatic
This commit is contained in:
parent
ea5227fe2c
commit
9d5be80190
@ -163,6 +163,10 @@ namespace DCFApixels.DragonECS
|
||||
{
|
||||
return world.Get<WorldMaskComponent>().ConvertFromStatic(abstractMask);
|
||||
}
|
||||
public EcsStaticMask ToStatic()
|
||||
{
|
||||
return _staticMask;
|
||||
}
|
||||
EcsMask IComponentMask.ToMask(EcsWorld world) { return this; }
|
||||
public EcsMaskIterator GetIterator()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user