docs.unity3d.com
    Show / Hide Table of Contents

    Class InputTestFixture.ActionConstraint

    Inheritance
    Object
    InputTestFixture.ActionConstraint
    Namespace: UnityEngine.InputSystem
    Syntax
    public class ActionConstraint : Constraint

    Constructors

    ActionConstraint(InputActionPhase, InputAction, InputControl, Object, Type, Nullable<Double>, Nullable<Double>)

    Declaration
    public ActionConstraint(InputActionPhase phase, InputAction action, InputControl control, object value = null, Type interaction = null, double? time = null, double? duration = null)
    Parameters
    Type Name Description
    InputActionPhase phase
    InputAction action
    InputControl control
    Object value
    Type interaction
    Nullable<Double> time
    Nullable<Double> duration

    Properties

    action

    Declaration
    public InputAction action { get; set; }
    Property Value
    Type Description
    InputAction

    control

    Declaration
    public InputControl control { get; set; }
    Property Value
    Type Description
    InputControl

    duration

    Declaration
    public double? duration { get; set; }
    Property Value
    Type Description
    Nullable<Double>

    interaction

    Declaration
    public Type interaction { get; set; }
    Property Value
    Type Description
    Type

    phase

    Declaration
    public InputActionPhase phase { get; set; }
    Property Value
    Type Description
    InputActionPhase

    time

    Declaration
    public double? time { get; set; }
    Property Value
    Type Description
    Nullable<Double>

    value

    Declaration
    public object value { get; set; }
    Property Value
    Type Description
    Object

    Methods

    AndThen(InputTestFixture.ActionConstraint)

    Declaration
    public InputTestFixture.ActionConstraint AndThen(InputTestFixture.ActionConstraint constraint)
    Parameters
    Type Name Description
    InputTestFixture.ActionConstraint constraint
    Returns
    Type Description
    InputTestFixture.ActionConstraint

    ApplyTo(Object)

    Declaration
    public override ConstraintResult ApplyTo(object actual)
    Parameters
    Type Name Description
    Object actual
    Returns
    Type Description
    ConstraintResult
    Back to top
    Terms of use
    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