Assign a GameObject to a Component Public Variable using c#

Hello, I have just added a GameObject to the scene and I would like to be able to control it. I have custom scripts written for the left and right controllers and I’ve attached these scripts to the left and right controllers within the SteamVR CameraRig. I need to assign “PitchingPanel_Om…” (the gameObject) to the variable of “cube” within the custom script. How might I be able to do this? Here’s a picture. Also I cannot just click and drag because I have a few hundred of these- it needs to be via c# script.97848-component-help.png

You can do it in runtime. Like in Awake method. Find object by tag.