JetBrains / JetBrains/resharper-unity
Inspection to simplify yield return StartCoroutine(...)
Open
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
In a co-routine, if you want to wait for another co-routine, the code `yield return StartCoroutine(SomeMethod());` can be simplified into `yield return SomeMethod();`.
I think it's worth having an inspection for this.
Contributor guide
Assessment
This issue has not been assessed yet.