Ejemplo n.º 1
0
        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);
            }
        }