示例#1
0
 public void StopListening(GraphStack stack)
 {
     if (stack.TryEnterParentElement(this))
     {
         nest.graph.StopListening(stack);
         stack.ExitParentElement();
     }
 }
示例#2
0
        public void StopListening(GraphStack stack)
        {
            stack.GetElementData <Data>(this).isListening = false;

            if (stack.TryEnterParentElement(this))
            {
                nest.graph.StopListening(stack);
                stack.ExitParentElement();
            }
        }
示例#3
0
        public void StartListening(GraphStack stack)
        {
            if (stack.TryEnterParentElement(this))
            {
                nest.graph.StartListening(stack);
                stack.ExitParentElement();
            }

            stack.GetElementData <Data>(this).isListening = true;
        }