waitforseconds problem

ok so when i have this the function openParachute.

function Update() {
			if (Input.GetKeyUp(KeyCode.Space))
		 {
                         Yield WaitForSeconds(1);
                         OpenParachute();
		}
	}

it does not work. any reason why?

but when i have this

function Update() {
			if (Input.GetKeyUp(KeyCode.Space))
		 {

			OpenParachute();
		}
	}

yield must not be written in an Update Function… Because yield is an IEnumerator type… or what we call is used in Coroutines…
In Javascript… Coroutines can be simply defined as

function “Name of Coroutine”(){

}

In C#

IEnumerator “Name of Coroutine”(){
yield return WaitForSeconds(any float value);
}