Interface IInputControlProcessor<TValue> | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Interface IInputControlProcessor<TValue>

    Namespace: UnityEngine.Experimental.Input
    Syntax
    public interface IInputControlProcessor<TValue>
        where TValue : struct
    Type Parameters
    Name Description
    TValue

    Methods

    Process(TValue, InputControl)

    Process the given value and return the result.

    Declaration
    TValue Process(TValue value, InputControl control)
    Parameters
    Type Name Description
    TValue value

    Input value to process.

    InputControl control

    The control the value is processed for. Note that value is not necessarily equal to as other processors in the stack may have already altered the value.

    Returns
    Type Description
    TValue

    Processed input value.

    Remarks

    The implementation of this method must not be stateful.

    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX