- Home /
Question by
djrachels08 · Jul 06, 2018 at 11:46 PM ·
enemytimeattack
How to make an enemy attack every few seconds
I was wondering how to make an enemy attack, and make it do so every few seconds. (using c#)
Comment
Answer by CubicPro · Jul 07, 2018 at 12:01 AM
You should take a look at Coroutines https://docs.unity3d.com/ScriptReference/Coroutine.html
this can make what you want.