Get / Select all objects with a specific tag that are visible in the game window
How to get all gameObjects on the scene that are visible in the game window? Example: I have a List and I need to add in it every visible in the game window GO with tag "Ball". There are 4 GO with tag Ball: 3 are in the center of the screen and 1 is out of edges of it. And when I call the method those 3 GO in the center of the screen should be added in my List
Comment
Your answer
Follow this Question
Related Questions
switch between 5 Ui icons by pressing a button 0 Answers
Shooting an instantiated missile the way a object is facing. 0 Answers
How do I make a scrollbar for the camera? 0 Answers
How to add more UI elements to Dropdown OptionData except default string and sprite values in Unity? 0 Answers
Make Jump Fish game 1 Answer