IEnumerator reset(RatbossA0 a) { if (a.ratOut) { yield return(a.returnIntoDoor()); } a.resetRatLocations(); a.enabled = false; yield return(new WaitForEndOfFrame()); a.enabled = true; this.enabled = false; }
IEnumerator NoMoreCheese() { spawner.enabled = false; yield return(a0.returnIntoDoor()); }