private static bool MouseButtonDown(int button) { return Event.current.type == EventType.MouseDown && Event.current.button == button; }