I have an object with a member function. However if I put a Yield statement into that member function and run it using the dot operator (a.run()) the function doesn't work. The part of the function before the yield doesn't even seem to get evaluated. Does anybody know why this is. Thank You
Yes, in C# you must use StartCoroutine() to call any coroutine. I filed a bug a while ago about coroutines silently failing when called directly, but it's quite possible that there's no reasonable way for the compiler to identify coroutines without getting false positives.