friflo
released this
21 Jul 22:08
·
55 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%