Skip to content

engine-v3.0.0-preview.4

Latest
Compare
Choose a tag to compare
@friflo friflo released this 21 Jul 22:08
· 54 commits to main since this release
  • Added runtime assertions to ensure an entity tree (parent / child relations) never contains cycles. So the tree is always a DAG.
    An operation e.g. AddChild() which would create a cycle within a tree will throw an exception like:
    System.InvalidOperationException : operation would cause a cycle: 3 -> 2 -> 1 -> 3
    
  • Improved performance of Entity.AddChild(), Entity.RemoveChild() & Entity.InsertChild() by 30%