Exchange variables from C# to JS

Does anyone know how to set values of variables in a Javascript form a C# script ? Is that possible ?

Its possible, just do it like with every other script, as long as youc C# script knows about the existance of your JS script everything should work as expected:

Remember to mark your variables as public if you want to access those from in another script.