JetBrains / JetBrains/resharper-unity

Inspection to simplify yield return StartCoroutine(...)

Open
#133 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.