Class InputTestFixture.ActionConstraint | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class InputTestFixture.ActionConstraint

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

    Constructors

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

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

    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

    interaction

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

    phase

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

    time

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

    value

    Declaration
    public object value { get; set; }
    Property Value
    Type Description
    System.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
    System.Object actual
    Returns
    Type Description
    ConstraintResult
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX