IEnumerator updatePlan() { // Always running during gameplay while (true) { this.checkPlan(); yield return new WaitForSeconds(this.updatePlanBuffer); } }