static void AssertIsMainThread (string memberName)

Parameters

NameTypeDescription
memberName = string Automatically filled with the calling method name

Exceptions

TypeWhen
System.Exception Thrown if not on the main thread
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.