Enum PointerModeType | Project Tiny | 0.31.0-preview.24
docs.unity.cn
    Show / Hide Table of Contents

    Enum PointerModeType

    Pointer mode type

    Namespace: Unity.Tiny.Input
    Syntax
    public enum PointerModeType

    Fields

    Name Description Value
    Normal

    Cursor behaves in default manner according to OS

    0
    Locked

    Cursor is hidden and locked to center of window. Window must get input focus for this to activate, and if input focus is lost (i.e. switch to another window) the cursor is unlocked

    1
    Hidden

    Cursor is hidden (so you can provide your own) but not locked to the window

    2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 06 November 2020