public void StopListening(GraphStack stack) { if (stack.TryEnterParentElement(this)) { nest.graph.StopListening(stack); stack.ExitParentElement(); } }
public void StopListening(GraphStack stack) { stack.GetElementData <Data>(this).isListening = false; if (stack.TryEnterParentElement(this)) { nest.graph.StopListening(stack); stack.ExitParentElement(); } }
public void StartListening(GraphStack stack) { if (stack.TryEnterParentElement(this)) { nest.graph.StartListening(stack); stack.ExitParentElement(); } stack.GetElementData <Data>(this).isListening = true; }