private IEnumerator <WaitForSeconds> reduceOxygen() { while (true) { yield return(wfs); resourceManager.oxygenPoints -= 1; resourceUI.UpdateUI(); if (resourceManager.oxygenPoints <= 0) { Health.instance.Dead(); PlayerController.instance.StopControl(); } } }