Enum UIPointerType | Input System | 1.0.2
docs.unity.cn
    Show / Hide Table of Contents

    Enum UIPointerType

    General type of pointer that generated a UnityEngine.EventSystems.PointerEventData pointer event.

    Namespace: UnityEngine.InputSystem.UI
    Syntax
    public enum UIPointerType

    Fields

    Name Description Value
    None 0
    MouseOrPen

    A Mouse or Pen or other general Pointer.

    1
    Touch

    A Touchscreen.

    2
    Tracked

    A TrackedDevice.

    3
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 22 January 2021