c# to javacript

hi guys, i have a question!

i need to import an int from c# in a javascript file

is that possible?
and when yes, how?
thanks

You should be able to use GetComponent if it’s public. Otherwise you can make a public getWhatever() in js that returns an int.

–Eric