Paul Marsh
Nov 6, 2021

--

Nice post but a little misleading. You are correct in saying that by caching the WaitForSeconds you help with GC issues but they may or may not happen further down the line, it is not related to when you create the instance. Keep caching but it's about reducing the cost of GC if/when that happens.

--

--

Paul Marsh
Paul Marsh

Written by Paul Marsh

Unity, VR, Enterprise and .Net Developer

No responses yet