private void ProcessNodeEvents(Event e) { foreach (TerraNode node in Graph.Nodes) { TerraEvents.ProcessNodeEvent(e, node); } }
private void ProcessCommentEvents(Event e) { foreach (GraphComment comment in Graph.Comments) { TerraEvents.ProcessCommentEvent(e, comment); } }
private void Events() { Event e = Event.current; ProcessNodeEvents(e); ProcessCommentEvents(e); TerraEvents.ProcessGraphEditorEvents(e, window); }