JavaScript <--> C# ?

Hi, all of the scripts I have created so far were in JS, but I looked into File.IO and that required C#. I was wondering if I wanted to transfer some values into the JS from C# for instantiation, how could it be done?

Or do I need to follow through with everything in the C#?

Thanks

File.IO does not require C# at all.
You can use all frameworks from C# as well as JS.

just replace code that has “using …” at the top with “import …”

alternatively, put the C# code into the plugins folder then you can use all fucntionality you have in there from JS as if the functions were standard unity functionality

Oh yeah I noticed that, thanks