Good afternoon
I need to make a city with a lot of objects, but that each object could be controlled by a script, the purpose of showing and hiding certain buildings.
I went the simple way and loaded a lot of buildings on the map and managed them, but performance is not very good with this approach, when the objects become 1000.
The second way I’m considering is to make one big object, the performance is very good, but how to work with certain objects inside I can’t, or I haven’t figured out how to do it yet. is it possible to get a list of objects loaded onto the map so that I can control each of them with this approach,
I’m trying to do it the way it was shown in the example with new york in the sandbox, there seems to be one object loaded, but in fact every building is a building and it can be controlled.
Translated with DeepL Translate: The world's most accurate translator (free version)