You can find game objects in the current scene through different methods.
By Name...
Find a single game object with a specific name:
Find all game objects with names that match a given string expression:
Find three game objects with names that match a given expression:
From a Component...
Find a component in the current scene:
Get the game object that the component is attached to:
From the Transform Hierarchy...
Show the transform hierarchy graph for the current scene:
Find one of the wall game objects:
Get the parent of the wall game object:
Get all of the children of the wall parent:
In the Open Scenes...
Find which scenes are currently open:
Find all the game objects in the open scenes: