mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
DotNet script changes transform
This commit is contained in:
@@ -20,4 +20,14 @@ public readonly struct EcsEntity
|
||||
public bool IsValid => Index != InvalidEntity.Index;
|
||||
|
||||
public static readonly EcsEntity InvalidEntity = new(uint.MaxValue, 0);
|
||||
|
||||
public static bool operator ==(EcsEntity left, EcsEntity right)
|
||||
{
|
||||
return left._id == right._id;
|
||||
}
|
||||
|
||||
public static bool operator !=(EcsEntity left, EcsEntity right)
|
||||
{
|
||||
return left._id != right._id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user