Static<T>.

AssertSingularity() Method

Summary

[Assert-Conditional] Call this in the constructor of T to make sure there is only one instance.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
Static<T>

Syntax

[System.Diagnostics.Conditional(Strings.Assertions)]
public static void AssertSingularity()

Attributes

Type Description
ConditionalAttribute

Return Value

Type Description
void