IEnumerator DropRoutine() { cont.RemovePlatformFromMask(); float delay = .15f; while (delay > 0) { yield return(null); delay -= Time.deltaTime; } while (Input.GetButton("Drop")) { yield return(null); } cont.AddPlatformToMask(); drop_routine = null; }