Hi, how can I make it work? I mean the line is working, but the void doesn’t allow it to run:
void Smite(){
yield return new WaitForSeconds (1.3f);
Die();
I get error: Assets/Scripts/AI/EnemyScript.cs(55,14): error CS1624: The body of EnemyScript.Smite()' cannot be an iterator block because
void’ is not an iterator interface type
help please, and thanks in advance.