示例#1
0
 public override bool OnMessage(IMessage message)
 {
     if (m_rootNodeGroup.OnMessage(message))
     {
         return(true);
     }
     return(false);
 }
示例#2
0
        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);
        }