+ 1

How to wait for seconds using enums

just say ienumerator void (function name ) and within curly braces write the yield new waitforseconds and in parenthesis how many seconds you want to wait just close it and in start or update method write startcorotene nd within parenthesis the name of the method and you are good to go

26th Jun 2018, 1:42 PM
kashyap chodankar
kashyap chodankar - avatar
1 Answer
+ 6
just say ienumerator void (function name ) and within curly braces write the yield new waitforseconds and in parenthesis how many seconds you want to wait just close it and in start or update method write startcorotene nd within parenthesis the name of the method and you are good to go
26th Jun 2018, 1:53 PM
「HAPPY TO HELP」
「HAPPY TO HELP」 - avatar