How do I add a 2 second pause in my script?

hey all, so far i have a score system that works well and displays a number of stars depending on the players score, however at the end of the level the X number of stars pop up all at once.

What im after is a small 1 to 2 second break in-between each star popping up, for example if the player gets 3 stars, the score board would pop up…wait 1 second…1 star pops up…wait 1 second ect.

now ive tried a few methods trying to use yield WaitForSeconds(1.0) or yield new WaitForSeconds and similar code, however i just cant get it to work?

any ideas?

using UnityEngine;
using System.Collections;

public class Hole_TouchDestroy : MonoBehaviour {
 
    public GUITexture ScoreBack;
	public GUITexture RepeatLevel;
	
    public GUITexture Star1;
    public GUITexture Star2;
    public GUITexture Star3;
    public GUITexture Star4;
    public GUITexture StarSurround;
 
    void OnTriggerEnter(Collider other) {
       Destroy(other.gameObject);
       Debug.Log(DragShotMover.parCount);
 
       ScoreBack.enabled = true;
	   RepeatLevel.enabled = true;
	
 
       var count = DragShotMover.parCount;
       StarSurround.enabled = count <= 2;
       Star4.enabled = count <= 2;
       Star3.enabled = count <= 3;
       Star2.enabled = count <= 4;
       Star1.enabled = count <= 9999;
	  
 
       DragShotMover.parCount = 0;
    }
}

I found the solution, i had to change Void to IEnumerator, and the line that worked was yield return new WaitForSeconds(2);