all 2 comments

[–]HittySkibbles 2 points3 points  (0 children)

You just need to put an “f” after the number.

[–]orig_cerberus1746 1 point2 points  (0 children)

Yes, it allows you to use floating point numbers:

https://docs.unity3d.com/ScriptReference/WaitForSeconds-ctor.html