Remove nameof from StartCoroutine
This commit is contained in:
parent
a8e1613e3f
commit
1cb4159f8e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ namespace src.Wall
|
|||
{
|
||||
_spriteRenderer = GetComponentInChildren<SpriteRenderer>();
|
||||
_originalSpriteColor = _spriteRenderer.color;
|
||||
StartCoroutine(nameof(CheckIfSomethingNear));
|
||||
StartCoroutine(CheckIfSomethingNear());
|
||||
}
|
||||
|
||||
private IEnumerator CheckIfSomethingNear()
|
||||
|
|
Loading…
Reference in a new issue