Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Modding Engine #85

Open
filharvey opened this issue Jun 6, 2022 · 1 comment
Open

Modding Engine #85

filharvey opened this issue Jun 6, 2022 · 1 comment

Comments

@filharvey
Copy link

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?

@ialex32x
Copy link
Owner

ialex32x commented Jun 8, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants