// Copyright (c) 2024 Vuplex Inc. All rights reserved. // // Licensed under the Vuplex Commercial Software Library License, you may // not use this file except in compliance with the License. You may obtain // a copy of the License at // // https://vuplex.com/commercial-library-license // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. namespace Vuplex.WebView { /// /// Enum for the different mouse buttons. /// /// /// This enum's values are compatible with those from /// the UnityEngine.EventSystem [`InputButton`](https://docs.unity3d.com/Packages/com.unity.ugui@1.0/api/UnityEngine.EventSystems.PointerEventData.InputButton.html) enum, /// so you can safely cast an `InputButton` to a `MouseButton`. /// public enum MouseButton { /// /// The left mouse button (i.e. left click). /// Left = 0, /// /// The right mouse button (i.e. right click). /// Right = 1, /// /// The center mouse button. /// Middle = 2 } }