vexe / VFW

MIT License
492 stars 67 forks source link

[Show] for coroutines #45

Closed miguel12345 closed 9 years ago

miguel12345 commented 9 years ago

Currently, it isn't possible to run a coroutine from the editor with [Show] attribute, it just runs it as a normal method.

It would be very useful to handle IEnumerator's as well, perhaps a [ShowCoroutine] attribute to differentiate?

vexe commented 9 years ago

Hi, I cannot push atm, please paste this into MethodDrawer.cs http://pastebin.com/5QB2xfVH

miguel12345 commented 9 years ago

Nice, working as expected