Remove nameof from StartCoroutine

This commit is contained in:
Denis-Cosmin Nutiu 2019-06-22 15:17:12 +03:00
parent a8e1613e3f
commit 1cb4159f8e

View file

@ -18,7 +18,7 @@ namespace src.Wall
{
_spriteRenderer = GetComponentInChildren<SpriteRenderer>();
_originalSpriteColor = _spriteRenderer.color;
StartCoroutine(nameof(CheckIfSomethingNear));
StartCoroutine(CheckIfSomethingNear());
}
private IEnumerator CheckIfSomethingNear()