Installation overview
Install ZenTS using a Git URL in Package Manager, or embed its source at Packages/com.code-philosophy.zen-ts.
Before running scripts:
- Install a supported Unity Editor and the required platform modules.
- Build the static SDK from the matching official V8 sources, build the ZenTS adapters, and import it into the project. The Editor also requires an SDK for its OS/CPU.
- SDKs are stored under
Library/ZenTS/NativeSDK. Editor plugins and their.metafiles are generated underAssets/ZenTSGenerated/Native. - Run
ZenTS/Install.... Prepare Player configuration usingZenTS/Generate Xml Bindings,ZenTS/Generate Typings, and the target build settings. - Create a TypeScript project or provide a JS loader, then call
JsAppDomain.Initialize.
Restart the Editor after updating a loaded native plugin. SDKs, DLL/dylib/a/lib files, and generated native metadata are managed locally; they are not written into PackageCache or committed as package source.
See SDK installation for build/import commands and bidirectional calls for the first interop example.