Tagged Questions
4
votes
4answers
368 views
Recursive or linear gameobjects update?
I have a tree of gameobjects, so every node contains a list of children.
In update function:
Is it better to do recursive or linear walking through game objects.
update() {
update self;
...