Accessing a C# script in scripts folder from C# in Standard Assets

I am trying to figure out how I access an variable from a C# script in my scripts folder from a c# script in my Standard assets folder. The reason for this “workaround” is that I have a .js script in my script folder that need to change a variable in the other script in my scripts folder, so the only way I can write to the c# script is through the standard assets folder (I have read). The game is written in C# all the way except this one .js script which it would take to long to convert to C#. Its a rebuild of an previous game build in javascript.

Is this the correct way to do this by going to a “middle” script and is there a way I can access an c# script in scripts folder directly from the .js script in the same folder?

Hoping to see the light and any help is appreciated :slight_smile:

This topic is nicely explained here: