I am looking a way to include another js file natively in JInt (javascript interpreter for C# Unity). I understand that I can simple concatenate all my js files to one string and run it via normal way. But I don't want to specify exact files to load and also file loading order. I have undefined amount of files in the folder and subfolders and I only know which file is main.js.
It there a possibility to use something like require('file.js') from nodejs or it's a completely bad idea?
Thank you.
P.S. This project intended to be run under Unity-JInt.