I have a void team1ScoreCheck () and in that void is
if (team1GamesWon == totalMatchWon) {
if (!win.activeInHierarchy) {
print ("wait");
}
} else {
print ("doesn't work ");
some important background info: win is the game object that holds the particle effect and it becomes active if team1 or team2 is equal to totalMatchWon. I’m trying to get it to print wait after the particle is done playing but its printing it right before. How do i set up a delay, keep in mind that this is a void.