private void RunEvent(List <IEditorSeletable> selectable, Event e, Action <IEditorSeletable, EditorEvent> act) { EditorEvent ev = new EditorEvent(e); foreach (IEditorSeletable ies in selectable) { if (ev.IsUsed()) { return; } act(ies, ev); } }
private void RunEvent(List <IEditorSeletable> selectable, Event e, Action <IEditorSeletable, EditorEvent> act) { EditorEvent ev = new EditorEvent(e); foreach (IEditorSeletable ies in selectable) { if (ev.IsUsed()) { return; } act(ies, ev); } }