Open KTRosenberg opened 1 year ago
Hi KTRosenberg, I've only tested on unity2020 so far, but it should works on 2020+, will have a look on newer versions soon.
Any code listed in the Extra
folder are optional. And the implementations like JS MonoBehaviour/Editor/EditorWindow are not optional for now (but they could be isolated into a separated module of couse). Could you give more details about what features you do not need?
I think there are 70+ binding errors in Unity 2022, but I am not sure if something’s wrong with my developer setup, or if the 2019 version that was used for unity-jsb is required. For example, some of the new types like span seem to have issues.
If the automatic bindings cannot work, what is trhe subset of code that shows how to do a basic QuickJS setup? I think ScriptRuntime is the nice wrapper, for example, but I do not need all the extra (though wonderful) features you added.
What would you advise?