Class PlayerHandle | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class PlayerHandle

    Inheritance
    Object
    PlayerHandle
    Namespace: UnityEngine.InputNew
    Syntax
    public class PlayerHandle : IInputConsumer

    Fields

    assignments

    Declaration
    public List<PlayerDeviceAssignment> assignments
    Field Value
    Type Description
    List<PlayerDeviceAssignment>

    index

    Declaration
    public readonly int index
    Field Value
    Type Description
    Int32

    maps

    Declaration
    public List<ActionMapInput> maps
    Field Value
    Type Description
    List<ActionMapInput>

    onChange

    Declaration
    public static PlayerHandle.ChangeEvent onChange
    Field Value
    Type Description
    PlayerHandle.ChangeEvent

    Properties

    global

    Declaration
    public bool global { get; set; }
    Property Value
    Type Description
    Boolean

    processAll

    Declaration
    public bool processAll { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    AssignDevice(InputDevice, Boolean)

    Declaration
    public bool AssignDevice(InputDevice device, bool assign)
    Parameters
    Type Name Description
    InputDevice device
    Boolean assign
    Returns
    Type Description
    Boolean

    BeginFrame()

    Declaration
    public void BeginFrame()
    Implements
    IInputConsumer.BeginFrame()

    Destroy()

    Declaration
    public void Destroy()

    EndFrame()

    Declaration
    public void EndFrame()
    Implements
    IInputConsumer.EndFrame()

    GetActions(ActionMap)

    Declaration
    public ActionMapInput GetActions(ActionMap actionMap)
    Parameters
    Type Name Description
    ActionMap actionMap
    Returns
    Type Description
    ActionMapInput

    GetActions<T>()

    Declaration
    public T GetActions<T>()
        where T : ActionMapInput
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetApplicableDevices()

    Declaration
    public IEnumerable<InputDevice> GetApplicableDevices()
    Returns
    Type Description
    IEnumerable<InputDevice>

    ProcessEvent(InputEvent)

    Declaration
    public bool ProcessEvent(InputEvent inputEvent)
    Parameters
    Type Name Description
    InputEvent inputEvent
    Returns
    Type Description
    Boolean
    Implements
    IInputConsumer.ProcessEvent(InputEvent)
    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