docs.unity3d.com
    Show / Hide Table of Contents

    Method AreEqual

    AreEqual<T>(T, T)

    Declaration
    [Conditional("UNITY_ASSERTIONS")]
    public static void AreEqual<T>(T expected, T actual)
    Parameters
    Type Name Description
    T expected
    T actual
    Type Parameters
    Name Description
    T

    AreEqual<T>(T, T, String)

    Declaration
    [Conditional("UNITY_ASSERTIONS")]
    public static void AreEqual<T>(T expected, T actual, string message)
    Parameters
    Type Name Description
    T expected
    T actual
    String message
    Type Parameters
    Name Description
    T

    AreEqual(Int32, Int32)

    Declaration
    [Conditional("UNITY_ASSERTIONS")]
    public static void AreEqual(int expected, int actual)
    Parameters
    Type Name Description
    Int32 expected
    Int32 actual

    AreEqual(Boolean, Boolean)

    Declaration
    [Conditional("UNITY_ASSERTIONS")]
    public static void AreEqual(bool expected, bool actual)
    Parameters
    Type Name Description
    Boolean expected
    Boolean actual
    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