Is it possible to have extension methods that starts coroutines? Id like to have an extension method for the GameObject that checks if itself has a renderer and a material and then lerps the color to a target color.
Tell me more
×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.
I can't think of a way to do it. Since extensions are static and they cannot inherit the | |||||
|