Class SharePackageUtils.LeftClickManipulator | Share WebGL Game | 1.2.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class SharePackageUtils.LeftClickManipulator

    Allows a visual element to react on left click

    Inheritance
    Object
    SharePackageUtils.LeftClickManipulator
    Namespace: Unity.Connect.Share.Editor
    Syntax
    public class LeftClickManipulator : MouseManipulator

    Constructors

    LeftClickManipulator(Action<VisualElement>)

    Declaration
    public LeftClickManipulator(Action<VisualElement> OnClick)
    Parameters
    Type Name Description
    Action<VisualElement> OnClick

    Methods

    OnMouseDown(MouseDownEvent)

    Declaration
    protected void OnMouseDown(MouseDownEvent e)
    Parameters
    Type Name Description
    MouseDownEvent e

    OnMouseUp(MouseUpEvent)

    Declaration
    protected void OnMouseUp(MouseUpEvent e)
    Parameters
    Type Name Description
    MouseUpEvent e

    RegisterCallbacksOnTarget()

    Declaration
    protected override void RegisterCallbacksOnTarget()

    UnregisterCallbacksFromTarget()

    Declaration
    protected override void UnregisterCallbacksFromTarget()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023