Class MustExtensions
Inheritance
MustExtensions
Assembly: UnityEngine.dll
Syntax
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static class MustExtensions
Methods
|
Improve this Doc
View Source
MustBeApproximatelyEqual(Single, Single)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeApproximatelyEqual(this float actual, float expected)
Parameters
|
Improve this Doc
View Source
MustBeApproximatelyEqual(Single, Single, Single)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeApproximatelyEqual(this float actual, float expected, float tolerance)
Parameters
|
Improve this Doc
View Source
MustBeApproximatelyEqual(Single, Single, Single, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeApproximatelyEqual(this float actual, float expected, float tolerance, string message)
Parameters
|
Improve this Doc
View Source
MustBeApproximatelyEqual(Single, Single, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeApproximatelyEqual(this float actual, float expected, string message)
Parameters
|
Improve this Doc
View Source
MustBeEqual<T>(T, T)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeEqual<T>(this T actual, T expected)
Parameters
Type |
Name |
Description |
T |
actual |
|
T |
expected |
|
Type Parameters
|
Improve this Doc
View Source
MustBeEqual<T>(T, T, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeEqual<T>(this T actual, T expected, string message)
Parameters
Type |
Name |
Description |
T |
actual |
|
T |
expected |
|
String |
message |
|
Type Parameters
|
Improve this Doc
View Source
MustBeFalse(Boolean)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeFalse(this bool value)
Parameters
Type |
Name |
Description |
Boolean |
value |
|
|
Improve this Doc
View Source
MustBeFalse(Boolean, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeFalse(this bool value, string message)
Parameters
|
Improve this Doc
View Source
MustBeNull<T>(T)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeNull<T>(this T expected)
where T : class
Parameters
Type |
Name |
Description |
T |
expected |
|
Type Parameters
|
Improve this Doc
View Source
MustBeNull<T>(T, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeNull<T>(this T expected, string message)
where T : class
Parameters
Type |
Name |
Description |
T |
expected |
|
String |
message |
|
Type Parameters
|
Improve this Doc
View Source
MustBeTrue(Boolean)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeTrue(this bool value)
Parameters
Type |
Name |
Description |
Boolean |
value |
|
|
Improve this Doc
View Source
MustBeTrue(Boolean, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustBeTrue(this bool value, string message)
Parameters
|
Improve this Doc
View Source
MustNotBeApproximatelyEqual(Single, Single)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustNotBeApproximatelyEqual(this float actual, float expected)
Parameters
|
Improve this Doc
View Source
MustNotBeApproximatelyEqual(Single, Single, Single)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustNotBeApproximatelyEqual(this float actual, float expected, float tolerance)
Parameters
|
Improve this Doc
View Source
MustNotBeApproximatelyEqual(Single, Single, Single, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustNotBeApproximatelyEqual(this float actual, float expected, float tolerance, string message)
Parameters
|
Improve this Doc
View Source
MustNotBeApproximatelyEqual(Single, Single, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustNotBeApproximatelyEqual(this float actual, float expected, string message)
Parameters
|
Improve this Doc
View Source
MustNotBeEqual<T>(T, T)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustNotBeEqual<T>(this T actual, T expected)
Parameters
Type |
Name |
Description |
T |
actual |
|
T |
expected |
|
Type Parameters
|
Improve this Doc
View Source
MustNotBeEqual<T>(T, T, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustNotBeEqual<T>(this T actual, T expected, string message)
Parameters
Type |
Name |
Description |
T |
actual |
|
T |
expected |
|
String |
message |
|
Type Parameters
|
Improve this Doc
View Source
MustNotBeNull<T>(T)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustNotBeNull<T>(this T expected)
where T : class
Parameters
Type |
Name |
Description |
T |
expected |
|
Type Parameters
|
Improve this Doc
View Source
MustNotBeNull<T>(T, String)
Declaration
[Conditional("UNITY_ASSERTIONS")]
[Obsolete("Must extensions are deprecated. Use UnityEngine.Assertions.Assert instead")]
public static void MustNotBeNull<T>(this T expected, string message)
where T : class
Parameters
Type |
Name |
Description |
T |
expected |
|
String |
message |
|
Type Parameters