public override void OnCompositeParentExit() { // Propogate composite parent exit through decorator chain only. // No need to call for composite children since composite nodes handle that. if (child && child.IsDecorator()) { child.OnCompositeParentExit(); } }