Open filharvey opened 2 years ago
If I wanted to use unity-jsb as a modding engine for a game, how can I restrict how much of unity is exposed to the JS / TS?
You could implement your own IBindingProcess to define which types are available in JS/TS (and how they are being accessed). There is an example: jsb_build/dotnetcore/CustomBinding.cs.
IBindingProcess
jsb_build/dotnetcore/CustomBinding.cs
If I wanted to use unity-jsb as a modding engine for a game, how can I restrict how much of unity is exposed to the JS / TS?