When trying to enter play mode, I am receiving the error below:
error CS1624: The body of `__' cannot be an iterator block because `__'
is not an iterator interface type
This example uses an iterator accessor to start a coroutine in a method that uses "void" as the return type for the WaitCheck() method.
Errors displayed in this example:
error CS1624: The body of `ExampleScript.WaitCheck()' cannot be an
iterator block because `void'is not an iterator interface type
To fix the CS1624 error you will need to use one of the iterator interface types as a return type.
The example is fixed by using the IEnumerator iterator interface type for the WaitCheck function.