When a node is decorator is visited, PreUpdate is first called on it. It is responsible for forwarding the call to the next decorator that implements this interface on the decorator stack of the node. Once all decorators have had the chance to PreUpdate, the children of the decorator are queried through theIHierarchyinterface. The children will then evaluate and PostUpdate will then be called afterwards on the original decorator.