docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Except

    Except<T>(T)

    Appends a tag trait constraint to the existing tag trait expression.

    Declaration
    public QueryTraitExpression Except<T>(T value) where T : struct
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    QueryTraitExpression
    Type Parameters
    Name Description
    T
    Remarks

    An "except" clause matches all intervals from the motion library that does not contain the trait passed as argument.

    synthesizer.Query.Where(
        Locomotion.Default).Except(Idle.Default));
    See Also
    Query
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)