mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-11-13 00:55:55 +08:00
add EscWorld.isNullOrDetroyed
This commit is contained in:
parent
150ad8d132
commit
a976b75fc7
@ -731,6 +731,14 @@ namespace DCFApixels.DragonECS
|
||||
#endregion
|
||||
}
|
||||
|
||||
public static class EcsWorldExtenssions
|
||||
{
|
||||
public static bool IsNullOrDetroyed(this EcsWorld self)
|
||||
{
|
||||
return self == null || self.IsDestroyed;
|
||||
}
|
||||
}
|
||||
|
||||
#region Callbacks Interface
|
||||
public interface IEcsWorldEventListener
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user