private IEnumerator ManageBuff() { // Deactivate buff yield return(new WaitForSeconds(catchVFXDuration)); vfxManager.EnableVFX(cooldownVFX, true); // Spawn Buff yield return(new WaitForSeconds(timeToRespawn)); vfxManager.EnableVFX(cooldownVFX, false); vfxManager.EnableVFX(spawnVFX, spawnVFXDuration); model.transform.DOLocalMoveY(-0.5f, spawnVFXDuration); model.SetActive(true); // Activate Buff yield return(new WaitForSeconds(spawnVFXDuration)); vfxManager.EnableVFX(idleVFX, true); modelAnim.enabled = true; used = false; }