Using yield WaitForSeconds
问题 I might be asking something that's extremely obvious and I have overlooked something, but I'm trying to create a pause before it does something. I have seen this being used in many places online - yield WaitForSeconds(2); However I get a syntax error of, "Error CS1528: Expected ; or = (cannot specify constructor arguments in declaration) (CS1528) (Assembly-CSharp) Which confuses me as im not really sure what yield as a keyword really means or does, and im under the assumption that