Skip to main content

NullChecker

A class in Root.Township, the global namespace.

Fires one of two events depending on whether a value passed to it is null.

Constructors​

MemberWhat it is
NullChecker()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

2 private and internal fields
MemberWhat it is
private AltaEvent isNotNullEvent fired when the value is not null.
private AltaEvent isNullEvent fired when the value is null.

Methods​

MemberWhat it is
void CheckValue(object toCheck)Fires isNull or isNotNull for the given value.