Putting a variable of a child in the inspector for the parent

This mainly has to do with prefabs, when you want to change variables in a prefab it only shows the children directly below it and not the children 2 or more levels lower. I’ve looked around and the consensus seems to be that the variables you need to access in your prefab should be accessible in the root game object.

Answer I found on the subject

But is there a way change the variable of a child in the inspector of the root game object without doing something contrived like setting the variable everytime in the update method?
(I wanted to use pointers but unity doesn’t allow those.)

In the years that I’ve used Unity, I haven’t found an efficient way to do it.

Instead, I just drag the prefab to the scene, edit what I need to, click the Apply button to push the changes to the prefab, and delete the instance. It’s dirty, but it works.