Class PhysicsAssert | 2D Entities | 0.22.0-preview.8
docs.unity3d.com
    Show / Hide Table of Contents

    Class PhysicsAssert

    Inheritance
    Object
    PhysicsAssert
    Namespace: Unity.U2D.Entities.Physics
    Syntax
    public static class PhysicsAssert

    Methods

    AreEqual<A, B>(A, B)

    Declaration
    public static void AreEqual<A, B>(A value1, B value2)
        where A : IEquatable<A> where B : IEquatable<B>
    Parameters
    Type Name Description
    A value1
    B value2
    Type Parameters
    Name Description
    A
    B

    AreNotEqual<A, B>(A, B)

    Declaration
    public static void AreNotEqual<A, B>(A value1, B value2)
        where A : IEquatable<A> where B : IEquatable<B>
    Parameters
    Type Name Description
    A value1
    B value2
    Type Parameters
    Name Description
    A
    B

    IsFalse(Boolean)

    Declaration
    public static void IsFalse(bool condition)
    Parameters
    Type Name Description
    Boolean condition

    IsTrue(Boolean)

    Declaration
    public static void IsTrue(bool condition)
    Parameters
    Type Name Description
    Boolean condition
    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