DotNet script changes transform

This commit is contained in:
Simon Lübeß
2022-04-27 23:58:50 +02:00
parent 2bac6a8d05
commit 63b9270710
11 changed files with 444 additions and 22 deletions
@@ -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;
}
}