how to find the number of objects with the same tag in unity

Solutions on MaxInterview for how to find the number of objects with the same tag in unity by the best coders in the world

showing results for - "how to find the number of objects with the same tag in unity"
Carl
30 Oct 2018
1 if(GameObject.FindGameObjectsWithTag("Enemy").Length > 20) {    // Do something }