unity – Attach a method to each GameObject or use a manager script

I'm new to Unity, but not new to development, so I'm wondering how Unity does it.

In the scene from the beginning is an empty GameObject containing a script that contains all the elements of the game. Once the game starts, spawn prefabs are generated in the game, and during the interaction they reveal a random loot from the item script.

Is it better to have a script for all chests accessing the element script, or should I create another empty GameObject as a kind of breast manager that accesses the object script and all the chests in the game and what is chasing all of them Booty is.