public override bool OnMessage(IMessage message) { if (m_rootNodeGroup.OnMessage(message)) { return(true); } return(false); }
public virtual bool OnMessage(IMessage message) { for (int idx = 0; idx < children.Count; ++idx) { if (children[idx] == null) { continue; } if (children[idx] is IGraphNodeGroup) { IGraphNodeGroup nodeGroup = children[idx] as IGraphNodeGroup; if (nodeGroup.OnMessage(message)) { return(true); } } } return(false); }