C# GetComponent

Hello Everybody,
I wanted to ask how can I access a variable in a Javascript file from a C# file …
thanks in advance

Nothing special. Regardless of language, components are compiled down to the same thing, so it’s no longer JS by the time your C# is accessing it (and neither is your C# still C# for that matter).

Unity - Scripting API: (Specifically part 4.)

If you javascript will be under a “Plugin” folder and your C# won’t be, the JS will be compiled before the C# and the JS will recognize the Temps object.